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 tuncerRank #1,499 · 1.1K reputationPosted Apr 13, 2016, 5:24 PM EDT
you will use SQL Update statement :
http://www.w3schools.com/sql/sql_update.asp
Rahul ChavanRank #2,671 · 521 reputationPosted Apr 13, 2016, 6:18 PM EDT
Priya Jindal62 reputationPosted Apr 14, 2016, 11:48 PM EDT
Priya Jindal62 reputationPosted Apr 14, 2016, 11:49 PM EDT
ali tuncerRank #1,499 · 1.1K reputationPosted Apr 15, 2016, 1:30 AM EDT
update syntax is wrong, you can't say SET WHERE..has to be this format :