|
-
October 16th, 2008, 03:50 PM
#1
ado.net
SqlConnection myconnection = new SqlConnection("server=RHGVR-1667F3F5E;Database=vanamu;Trusted_Connection=yes;");
myconnection.Open();
SqlCommand mycommand = new SqlCommand("insert Usedetails ( Personname, Address, City, State, Zip) values( Rami, lutz hall, commerce, texas, 75429)");
mycommand.ExecuteNonQuery();
myconnection.Close()
In the above code plz correct the store procedure that i have used there. and also the connection strings. Iam getting errors.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|