There are two text boxes.
textbox1.text contains the email id
textbox2.text contains the password which is to be updated .
these two textbxes are connected with the database. When a particular emailID is inserted in textbox1.text and password is wriiten then on click submit button the password will automatically gets updated into the database of that particular emailID.
Please Help Me in this to write a code in "WINDOW BASED APPLICATION using c#.."
ali tuncerPosted Apr 15, 2016, 5:30 AM
update syntax is wrong, you can't say SET WHERE..has to be this format :
Priya JindalPosted Apr 15, 2016, 3:49 AM
Priya JindalPosted Apr 15, 2016, 3:48 AM
Rahul ChavanPosted Apr 13, 2016, 10:18 PM
ali tuncerPosted Apr 13, 2016, 9:24 PM
you will use SQL Update statement :
http://www.w3schools.com/sql/sql_update.asp