Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Unclosed quotation mark after the character string
Violeta Popa
Apr 11 2013 3:32 PM
5.3k
Reply
Hi..i have this code and i get the error: "
Incorrect syntax near '58'.
Unclosed quotation mark after the character string ''.
" The first time worked, then gave me this error. I don't know what's wrong, it seems fine to me. This is my code:
string update_abonat = "UPDATE categorie_discount_adaos SET denumire_categorie='" + textBox1.Text + "', procent='" + textBox3.Text + "', tip_categorie='" + comboBox1.SelectedItem + "WHERE cod_categorie='" + cod_categorie + "'";
SqlCommand exec_update_abonat = new SqlCommand(update_abonat, conn);
exec_update_abonat.ExecuteNonQuery();
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to give licence key functionality in c# setup..?
acces variable from another method