Click here to Skip to main content
15,923,083 members
Home / Discussions / C#
   

C#

 
AnswerRe: The "using" statements at the top of a .cs Pin
Mark Churchill28-Aug-07 3:11
Mark Churchill28-Aug-07 3:11 
AnswerRe: The "using" directives at the top of a .cs Pin
PIEBALDconsult28-Aug-07 6:36
mvePIEBALDconsult28-Aug-07 6:36 
GeneralRe: The "using" directives at the top of a .cs Pin
Scott Dorman28-Aug-07 7:16
professionalScott Dorman28-Aug-07 7:16 
GeneralRe: The "using" directives at the top of a .cs Pin
PIEBALDconsult28-Aug-07 8:31
mvePIEBALDconsult28-Aug-07 8:31 
GeneralRe: The "using" directives at the top of a .cs Pin
Vodstok28-Aug-07 9:01
Vodstok28-Aug-07 9:01 
AnswerRe: The "using" directives at the top of a .cs Pin
PIEBALDconsult28-Aug-07 8:55
mvePIEBALDconsult28-Aug-07 8:55 
QuestionSaving User Settings to a different file Pin
baelzaden28-Aug-07 1:58
baelzaden28-Aug-07 1:58 
AnswerRe: Saving User Settings to a different file Pin
Spacix One28-Aug-07 2:51
Spacix One28-Aug-07 2:51 
AnswerRe: Saving User Settings to a different file Pin
Scott Dorman28-Aug-07 4:22
professionalScott Dorman28-Aug-07 4:22 
QuestionCalling client side control through httpwebrequest Pin
Dipti D Jadhav28-Aug-07 1:47
Dipti D Jadhav28-Aug-07 1:47 
QuestionSender vs From Pin
logicaldna28-Aug-07 1:33
logicaldna28-Aug-07 1:33 
AnswerRe: Sender vs From Pin
Scott Dorman28-Aug-07 4:38
professionalScott Dorman28-Aug-07 4:38 
GeneralRe: Sender vs From Pin
logicaldna28-Aug-07 4:46
logicaldna28-Aug-07 4:46 
GeneralRe: Sender vs From Pin
Scott Dorman28-Aug-07 5:15
professionalScott Dorman28-Aug-07 5:15 
GeneralRe: Sender vs From Pin
logicaldna28-Aug-07 4:56
logicaldna28-Aug-07 4:56 
GeneralRe: Sender vs From Pin
Scott Dorman28-Aug-07 5:23
professionalScott Dorman28-Aug-07 5:23 
GeneralRe: Sender vs From Pin
logicaldna28-Aug-07 5:31
logicaldna28-Aug-07 5:31 
QuestionRead a 3 Column CSV data in to a Datatable [modified] Pin
kibromg28-Aug-07 1:27
kibromg28-Aug-07 1:27 
AnswerRe: Read a 3 Column CSV data in to a Datatable Pin
Spacix One28-Aug-07 3:01
Spacix One28-Aug-07 3:01 
GeneralRe: Read a 3 Column CSV data in to a Datatable Pin
kibromg28-Aug-07 3:43
kibromg28-Aug-07 3:43 
AnswerRe: Read a 3 Column CSV data in to a Datatable Pin
Spacix One28-Aug-07 8:57
Spacix One28-Aug-07 8:57 
GeneralRe: Read a 3 Column CSV data in to a Datatable Pin
Spacix One29-Aug-07 5:20
Spacix One29-Aug-07 5:20 
QuestionWinForms designer bug? Pin
Lutosław28-Aug-07 0:50
Lutosław28-Aug-07 0:50 
QuestionLoading Data into SQL Tables using C# Pin
jtstanishfwg28-Aug-07 0:20
jtstanishfwg28-Aug-07 0:20 
QuestionModify The Database Name in app.config at run time Pin
BhuMan28-Aug-07 0:08
BhuMan28-Aug-07 0:08 
Hi,

I'm currently in the process of an Utility that is similar to the Query Analyzer.
I have assigned the Database name in app.config file and it works fine.

But now the problem is,I have to extract all the Databases from the LocalNetwork in the Listbox,
and i Require to change the Database name in the App.Config File at run time
according to the database that i select from the Listbox.

And here's the app.config file code..

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="SQLQueryAnalyzer" value="Data Source=(local);Integrated Security=True;User ID=;Password=;Initial Catalog=Northwind" />
</appSettings>
</configuration>



hi,
Please anyone help me in finding out the solution.

BhuMan

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.