i have a form on which i m displaying data in datagridview.on same form i have update ,insert,delete button.when i click on insert or update btn new form opens with controls(textbo x) in which user is giving values.on this 2nd form i have 2 btns -save and cancel.if i click on cancel i will go to 1st form and if i click on save btn -
record should be inserted in list n displayed in datagridview or record should be updated in list n displayed in dgridview(depen ding on insert or update btn selected).
i can do coding part. but prob is:
i want to do inset or update function in 2nd form depending on selection mode of button on 1st form-insert /update
i m doing windows app in vs2005
plz help
thnx in advance
record should be inserted in list n displayed in datagridview or record should be updated in list n displayed in dgridview(depen ding on insert or update btn selected).
i can do coding part. but prob is:
i want to do inset or update function in 2nd form depending on selection mode of button on 1st form-insert /update
i m doing windows app in vs2005
plz help
thnx in advance
Comment