TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
JONAS BOATENG
NA
24
0
what is wrong with the second code?
Dec 10 2009 12:56 PM
I have a code used to update mysql table. the first one is able to but the second one does not. What is the difference between the two codes apart from tables and the other components
[code]
accessDB1.connection();
string up = "update payment set dues = '" + txtDues.Text + "'";
accessDB1.myCmd(up).ExecuteNonQuery();
[/code]
[code]
//this does not update
soo.connection();
string soob = "Update terminals set computername = '" + txtcompname.Text + "',location='" + txtcomploc.Text + "' where termid = '" + terminalid.Text + "'";
soo.myCmd(soob).ExecuteNonQuery();
[/code]
Reply
Answers (
1
)
GRID VIEW Passing multiple pareneters to delete rows
accessing mdb. file in a protected shared folder