Click here to Skip to main content
15,887,135 members

Response to: About insert value in database

Latest Revision
The SqlCommand calling the ExecuteNonQuery() method only has 1 "m" while you declared it with 2.

com.ExecuteNonQuery() should be comm.ExecuteNonQuery()


Also, I would declare your SqlConnection in the same scope your other code is in.
Posted 25-Jan-13 3:48am by Richard C Bishop.
Tags: