In login page get the id(auto generated id) ,as the user will click on password link redirect him by passing id as query string then password page u can get the id through which can update the password
On Sun, Dec 6, 2009 at 12:58 AM, aditya chavan <[email protected]> wrote: > Hello > > can anyone tell me can i use update query in c#??? > > Problem : > > I have made an login application in which i have created three forms... in > which one is for login page , main interface which will be seen after the > logger is logged in and from there that logged person will change his/her > password using third form. > now the data is already over there with respective password. now here i > can successfully log in but now i cannot change the old password. In that > form there 3 textfields one is old password other are new and confirm > password. > now here the two problem arises that > > 1) how can my software will know who's password is being changed after the > is logged in?? > > 2) how to fire update query over ?? means how can i update the password > column?? > > i m using MS SQL server 2005 as a data base. > > i hope my question is clear... > please help me with this ASAP > > thank you > > Aditya chavan >
