5
Answers

ado.net connection using c#

durga prasad

durga prasad

15y
6.4k
1
Hi,
I want to know what is the connection string for ADO.Net

I have used this one    
SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=patient;uid=sa;pwd=;");

but it is throwing some sql execption,
any suggestions

Thanks in Advance,
A.Durga Prasad
Answers (5)