Click here to Skip to main content
15,902,299 members
Home / Discussions / C#
   

C#

 
QuestionDraw a UML inherit shape use with GDI+ Pin
dreamwinter27-Sep-05 21:39
dreamwinter27-Sep-05 21:39 
AnswerRe: Draw a UML inherit shape use with GDI+ Pin
Christian Graus28-Sep-05 1:54
protectorChristian Graus28-Sep-05 1:54 
GeneralRe: Draw a UML inherit shape use with GDI+ Pin
dreamwinter29-Sep-05 15:22
dreamwinter29-Sep-05 15:22 
GeneralRe: Draw a UML inherit shape use with GDI+ Pin
dreamwinter29-Sep-05 15:32
dreamwinter29-Sep-05 15:32 
QuestionADO.NET Transaction question Pin
seee sharp27-Sep-05 20:24
seee sharp27-Sep-05 20:24 
QuestionError While opening a Dot net Project Pin
vinidimple27-Sep-05 19:36
vinidimple27-Sep-05 19:36 
AnswerRe: Error While opening a Dot net Project Pin
sean_mufc28-Sep-05 0:17
sean_mufc28-Sep-05 0:17 
Questionabout get connection string from app.config Pin
papyrus_lei27-Sep-05 16:59
papyrus_lei27-Sep-05 16:59 
two projects,BusinessLayer and DataAcessLayer.
DataAcessLayer includes CustomerDB.cs, App.config.
App.config is like this:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ConncetionString" value="Server Port Address=;Server Name='';Character Set=iso_1;Network Protocol=Winsock;Provider='Sybase.ASEOLEDBProvider.2';User ID=;Password=;Initial Catalog=" />
</appSettings>
</configuration>

CustomerDB class has method GetCustomers
public DataTable GetCustomers()
{
string ConnectionString =
ConfigurationSettings.AppSettings
["ConncetionString"];
............

}

when i call GetCustomers() in BusinessLayer, the ConncetionString is always null.
but i did have a successful try before.
please help me,thanks.





-- modified at 23:06 Tuesday 27th September, 2005
GeneralRe: about get connection string from app.config Pin
therealmccoy27-Sep-05 19:26
therealmccoy27-Sep-05 19:26 
GeneralRe: about get connection string from app.config Pin
papyrus_lei27-Sep-05 20:49
papyrus_lei27-Sep-05 20:49 
GeneralRe: about get connection string from app.config Pin
Guffa27-Sep-05 21:41
Guffa27-Sep-05 21:41 
AnswerRe: about get connection string from app.config Pin
Guffa27-Sep-05 21:50
Guffa27-Sep-05 21:50 
GeneralRe: about get connection string from app.config Pin
papyrus_lei27-Sep-05 22:09
papyrus_lei27-Sep-05 22:09 
GeneralRe: about get connection string from app.config Pin
therealmccoy28-Sep-05 16:10
therealmccoy28-Sep-05 16:10 
QuestionVisual C# Express Pin
kenexcelon27-Sep-05 16:40
kenexcelon27-Sep-05 16:40 
Questionrenaming nodes Pin
xilefxilef27-Sep-05 16:07
xilefxilef27-Sep-05 16:07 
QuestionI want to draw a empty triangular arrow Pin
dreamwinter27-Sep-05 15:03
dreamwinter27-Sep-05 15:03 
JokeRe: I want to draw a empty triangular arrow Pin
Christian Graus27-Sep-05 15:39
protectorChristian Graus27-Sep-05 15:39 
GeneralRe: I want to draw a empty triangular arrow Pin
dreamwinter27-Sep-05 22:04
dreamwinter27-Sep-05 22:04 
GeneralRe: I want to draw a empty triangular arrow Pin
Christian Graus28-Sep-05 1:09
protectorChristian Graus28-Sep-05 1:09 
QuestionCrazy question about reflection Pin
Colin Angus Mackay27-Sep-05 11:52
Colin Angus Mackay27-Sep-05 11:52 
AnswerRe: Crazy question about reflection Pin
Guffa28-Sep-05 0:28
Guffa28-Sep-05 0:28 
GeneralRe: Crazy question about reflection Pin
Colin Angus Mackay28-Sep-05 2:27
Colin Angus Mackay28-Sep-05 2:27 
GeneralRe: Crazy question about reflection Pin
Guffa28-Sep-05 9:25
Guffa28-Sep-05 9:25 
GeneralRe: Crazy question about reflection Pin
Colin Angus Mackay28-Sep-05 12:36
Colin Angus Mackay28-Sep-05 12:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.