Click here to Skip to main content
15,892,674 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regex.Split() produces extra null strings Pin
Vikram A Punathambekar18-Apr-06 21:19
Vikram A Punathambekar18-Apr-06 21:19 
GeneralRe: Regex.Split() produces extra null strings Pin
Jon Hulatt19-Apr-06 0:53
Jon Hulatt19-Apr-06 0:53 
QuestionWriting rtf in word document Pin
_mubashir18-Apr-06 19:51
_mubashir18-Apr-06 19:51 
AnswerRe: Writing rtf in word document Pin
mav.northwind19-Apr-06 2:05
mav.northwind19-Apr-06 2:05 
AnswerRe: Writing rtf in word document Pin
Roy Heil19-Apr-06 7:49
professionalRoy Heil19-Apr-06 7:49 
QuestionIs there any easier way to open Directory for Exploring Pin
emran83418-Apr-06 16:04
emran83418-Apr-06 16:04 
AnswerRe: Is there any easier way to open Directory for Exploring Pin
LongRange.Shooter18-Apr-06 17:48
LongRange.Shooter18-Apr-06 17:48 
GeneralRe: Is there any easier way to open Directory for Exploring Pin
emran83419-Apr-06 13:15
emran83419-Apr-06 13:15 
AnswerRe: Is there any easier way to open Directory for Exploring Pin
alexey N18-Apr-06 22:57
alexey N18-Apr-06 22:57 
GeneralRe: Is there any easier way to open Directory for Exploring Pin
emran83419-Apr-06 13:13
emran83419-Apr-06 13:13 
Questionimage gets distorted after resizing Pin
deepak118-Apr-06 14:34
deepak118-Apr-06 14:34 
AnswerRe: image gets distorted after resizing Pin
Guffa18-Apr-06 21:38
Guffa18-Apr-06 21:38 
QuestionSQL SERVER EXPRESS or Professional Pin
emran83418-Apr-06 14:20
emran83418-Apr-06 14:20 
AnswerRe: SQL SERVER EXPRESS or Professional Pin
Paul Conrad18-Apr-06 17:43
professionalPaul Conrad18-Apr-06 17:43 
AnswerRe: SQL SERVER EXPRESS or Professional Pin
LongRange.Shooter18-Apr-06 17:50
LongRange.Shooter18-Apr-06 17:50 
Questionfraction.... Pin
KORCARI18-Apr-06 13:03
KORCARI18-Apr-06 13:03 
QuestionIntuit's QuickBooks SDK Pin
Michael A. Barnhart18-Apr-06 12:49
Michael A. Barnhart18-Apr-06 12:49 
QuestionSQL server dynamic connection Pin
namiiiii18-Apr-06 11:54
namiiiii18-Apr-06 11:54 
Hi!
I have made an application that connects to a sql server by using the "add data source" method...all the connections have been made with datasets and everything is working.
What i would like to do is to be able to change the connection string, as it is now the connection string is set by c#
(Settings.settings = (Connection string),(Application scope),(Value=Data Source=VM2\SQLEXPRESS....)
however i would like to list all sql servers before login and when user clicks one of the sql servers listed, the connection should be made to this server and then continue with the login.
I have successfulla made a list of the names of the sql servers, but i know too little about how to change the connection settings.
In short, what i want to do is being able to within the program change the Value of the Data Source. I realize this may have to make me create a configuration file, but that is ok.
Can somebody please help me with a codesnippet to run before the connection is made or something?
Greatly appreciated

/nami
AnswerRe: SQL server dynamic connection Pin
LongRange.Shooter18-Apr-06 18:13
LongRange.Shooter18-Apr-06 18:13 
GeneralRe: SQL server dynamic connection Pin
namiiiii18-Apr-06 20:49
namiiiii18-Apr-06 20:49 
GeneralRe: SQL server dynamic connection Pin
LongRange.Shooter19-Apr-06 2:36
LongRange.Shooter19-Apr-06 2:36 
GeneralRe: SQL server dynamic connection Pin
namiiiii19-Apr-06 8:56
namiiiii19-Apr-06 8:56 
GeneralRe: SQL server dynamic connection Pin
LongRange.Shooter20-Apr-06 6:51
LongRange.Shooter20-Apr-06 6:51 
Questioncant add a refference to the directx libreries Pin
yossi198118-Apr-06 11:48
yossi198118-Apr-06 11:48 
AnswerRe: cant add a refference to the directx libreries Pin
LongRange.Shooter19-Apr-06 2:56
LongRange.Shooter19-Apr-06 2:56 

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.