SyntaxFix
Write A Post
Hire A Developer
Questions
Use the AddWithValue method:
AddWithValue
comm.Parameters.AddWithValue("@person", "Myname"); comm.Parameters.AddWithValue("@address", "Myaddress");