hi,
i try to connect to northwnd db using OleDbDataAdapter, the name of ms sqlserver is DAMLA\SMARTEAM, instead of using DAMLA\SMARTEAM, i should use DAMLA\\SMARTEAM as a server name in the data adapter configuration wizard, so is there any way to modify the connection string in this wizard???
i'll appreciated if you can help me to solve this problem.
thanks
The problem with Data Source in connection string...
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Ibrahim ErsoyRank #106 · 20.6K reputationPosted Nov 7, 2006, 11:13 PM EST
dim conn as new oledbconnection("Provider = SQLNCLI;Data Source = .\SQLEXPRESS;Initial Catalog =
dim adp as new oledbdataadapter("query",conn)
dim ds as new dataset()
adp.fill(ds)
datagridview1.datasource=ds
u can change your connectionstring like that
"Provider = SQLNCLI;Data Source = DAMLA\\SMARTEAM\SQLEXPRESS;Initial Catalog =
thats it
Emre Kamucu5 reputationPosted Nov 8, 2006, 11:06 AM EST
Emre Kamucu5 reputationPosted Nov 10, 2006, 12:03 AM EST
i need feedback, i need solution to my problem...
please, don't make me hesitate for the seriousness of this site.
send your real, logical solutions...
many thanks
Emre