10
Reply

Help with Connection script

timothy.farrell

timothy.farrell

Apr 7 2004 3:47 PM
1.7k
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

Answers (10)