Help with Connection script
I have a connection script that I formated afer an article I just read but for some reason I cannot get it to exist error free. I am attempting to write a connection script for C#:
SqlConnection sqlConn = new SqlConnection(server=local;uid=sa;pwd=;database=profile;);
sqlConn.Open();
For what I think are obvious reasons, I get build errors on all of the ";" from inside the parenthesis.
Can someone help me?
Thank you.
Regards,
Tim
sjonesPosted Apr 8, 2004, 10:14 PM
timothy.farrellPosted Apr 8, 2004, 3:44 PM
timothy.farrellPosted Apr 8, 2004, 3:27 PM
timothy.farrellPosted Apr 8, 2004, 2:05 PM
timothy.farrellPosted Apr 8, 2004, 12:41 PM
timothy.farrellPosted Apr 8, 2004, 12:33 PM
spgilmorePosted Apr 8, 2004, 12:16 PM
timothy.farrellPosted Apr 8, 2004, 11:44 AM
anu 0Posted Apr 8, 2004, 7:18 AM
onthe_rowPosted Apr 8, 2004, 4:37 AM