I need to insert that value into the database in the "name"
variable goes. So far, I have tried to lower the code, but it is not working.
string name = "eswini";
string query = "INSERT student" + "values (1239, 'name', 'IT')"; Statement.executeUpdate (Quer);
Can anyone help me in this, thanks in advance?
Modify your string and then
string query = " Include student "+" value (1239, '"+ +' ',' IT ')";
No comments:
Post a Comment