you can use this to connect to sql server data base whene authentication mode is windows
SqlConnection con = new SqlConnection("Data Source=OMSAI-PC;Initial Catalog=Northwind;Integrated Security = SSPI;")
SqlConnection con = new SqlConnection("Data Source=OMSAI-PC;Initial Catalog=Northwind;Integrated Security = SSPI;")
this works for me......................
No comments:
Post a Comment