durga prasad

durga prasad

  • NA
  • 54
  • 0

ado.net connection using c#

Mar 20 2009 5:48 AM
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)