Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Doesnt update... why?
Mfwamba Tshimanga
10y
604
1
Reply
Hi!
I need to update... Its doesnt update datas.
This is my code:
private void btnEditFunc_Click(object sender, EventArgs e)
{
Conn.Open();
oleDbCmd.Connection = Conn;
oleDbCmd.CommandText = "UPDATE worker SET name= '" + txtName.Text + "' WHERE code = " + txtCode.Text + ")'";
oleDbCmd.ExecuteNonQuery();
Conn.Close();
}
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
rdlc report detatils displas when user is selected from ddl
show sql query result in label