how to get all the data field fill by selecting the condition value from another form to update to data base .
form 1 ;having name,id,sal,phone field and 3 button called add,modify,save
form 2 ;having a gridview with 2 column to display all name,id and a button called submit
Requirment ;if i click on modify button of form 1 itshould open form 2 and after selecting a row from datagrid view by pressing submit button it should redirect to form 1 and display the records on their respective field and after doing the modification by clicking on save button,data base will get updated with modified data for that employee .
plz help me on this .