iam trying to save records in a form to my mysql database. but i keep geting an error on the
cmd.ExecuteNonQuery line.
mzeewashooo 0
Newbie Poster
Recommended Answers
Jump to PostPlease post both the code and the error message; we can't help you if we don't know what's going on.
Jump to PostAre you using the standard MySQL Connector/NET? That's what it looks like; I'm just making sure.
An exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll but was not handled in user code
That means something's wrong with your query--can you put a
Catch
block in your code that prints …
All 8 Replies
gusano79 247
Posting Shark
mzeewashooo 0
Newbie Poster
mzeewashooo 0
Newbie Poster
mzeewashooo 0
Newbie Poster
gusano79 247
Posting Shark
gusano79 247
Posting Shark
mzeewashooo 0
Newbie Poster
mzeewashooo 0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.