Click here to Skip to main content
15,893,814 members
Home / Discussions / C#
   

C#

 
GeneralRe: detect the connection Pin
Ista26-Aug-03 16:07
Ista26-Aug-03 16:07 
GeneralRe: detect the connection Pin
Anonymous26-Aug-03 21:26
Anonymous26-Aug-03 21:26 
Generalgetting rows in a dataviewmanager Pin
zuhx26-Aug-03 8:27
zuhx26-Aug-03 8:27 
QuestionIgnorant simple data binding ? Pin
Ista26-Aug-03 8:27
Ista26-Aug-03 8:27 
Generalactive directory - DirectoryEntry Pin
devvvy26-Aug-03 7:42
devvvy26-Aug-03 7:42 
GeneralRe: active directory - DirectoryEntry Pin
Ista26-Aug-03 16:09
Ista26-Aug-03 16:09 
GeneralRe: active directory - DirectoryEntry Pin
devvvy26-Aug-03 16:12
devvvy26-Aug-03 16:12 
GeneralRe: active directory - DirectoryEntry Pin
Ista26-Aug-03 16:13
Ista26-Aug-03 16:13 
GeneralRe: active directory - DirectoryEntry Pin
devvvy26-Aug-03 16:18
devvvy26-Aug-03 16:18 
GeneralRe: active directory - DirectoryEntry Pin
Ista26-Aug-03 16:30
Ista26-Aug-03 16:30 
GeneralRe: active directory - DirectoryEntry Pin
devvvy26-Aug-03 16:46
devvvy26-Aug-03 16:46 
GeneralRe: active directory - DirectoryEntry Pin
Ista26-Aug-03 16:50
Ista26-Aug-03 16:50 
GeneralRe: active directory - DirectoryEntry Pin
devvvy26-Aug-03 17:55
devvvy26-Aug-03 17:55 
GeneralRe: active directory - DirectoryEntry Pin
Ista26-Aug-03 18:00
Ista26-Aug-03 18:00 
GeneralHere's a reference from MSDN Pin
devvvy26-Aug-03 16:25
devvvy26-Aug-03 16:25 
GeneralCalling a C++ function from c# Pin
Entelecheia26-Aug-03 6:59
Entelecheia26-Aug-03 6:59 
GeneralRe: Calling a C++ function from c# Pin
leppie26-Aug-03 7:05
leppie26-Aug-03 7:05 
GeneralRe: Calling a C++ function from c# Pin
Entelecheia26-Aug-03 7:15
Entelecheia26-Aug-03 7:15 
Generaljust expose your C code as managed C++ lib, then Add Reference Pin
devvvy26-Aug-03 7:33
devvvy26-Aug-03 7:33 
GeneralRe: just expose your C code as managed C++ lib, then Add Reference Pin
Nemanja Trifunovic26-Aug-03 8:11
Nemanja Trifunovic26-Aug-03 8:11 
GeneralRe: Calling a C++ function from c# Pin
Nemanja Trifunovic26-Aug-03 11:50
Nemanja Trifunovic26-Aug-03 11:50 
GeneralRe: Calling a C++ function from c# Pin
Christian Graus26-Aug-03 16:13
protectorChristian Graus26-Aug-03 16:13 
GeneralRe: Calling a C++ function from c# Pin
Bo Hunter26-Aug-03 13:31
Bo Hunter26-Aug-03 13:31 
GeneralC# configurationfile Pin
User 53137826-Aug-03 6:30
User 53137826-Aug-03 6:30 
GeneralRe: C# configurationfile Pin
scadaguy26-Aug-03 8:32
scadaguy26-Aug-03 8:32 
Your configuration file should be named application.exe.config. Replace application with the actual executable name. If you add the configuration file to the project then name it app.config and VS.NET will automatically rename it correctly when it builds the project. The file should look like...
<configuration>
   <appSettings>
      <add key="ConnectionString" value="the actual string goes here" />
   </appSettings>
</configuration>

And in code you can access it with...
ConfigurationSettings.AppSettings["ConnectionString"]

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.