narayana_anthati Posted October 9, 2006 Share Posted October 9, 2006 Hi, In my application i am getting an error on the query plz help me.i wrote the query as "UPDATE LOGIN(PASSWORD) SET VALUES('"+TEXTBOX3.TEXT+"').If there is any error plz send me.It's very urgent.Thanks in advaneRegards,narayana Link to comment Share on other sites More sharing options...
jesh Posted October 9, 2006 Share Posted October 9, 2006 Check out this link for how to do UPDATEs in SQL.It should be more like: UPDATE Login SET Password = '" + TEXTBOX3.Text + "' WHERE UserID = " + userID Beware of SQL injections though. Link to comment Share on other sites More sharing options...
narayana_anthati Posted October 11, 2006 Author Share Posted October 11, 2006 Check out this link for how to do UPDATEs in SQL.It should be more like:UPDATE Login SET Password = '" + TEXTBOX3.Text + "' WHERE UserID = " + userID Beware of SQL injections though. Thanks for u reply now its workingRegardsnarayana Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now