Populate the datagrid selected row on another form

khawerrind
08-28-2009, 11:04 AM
hi to every one,
i have a problem, i have a data grid that contains product data base. i made a "edit form: for the products. what i want is that when i select any data grid row and after selecting it when i click on "edit form" the form text boxes should contain the same contents as it was in the data grid selected row.
so main point is how this is possible ?
help me please i am in great trouble

khawerrind
08-28-2009, 12:53 PM
yahoooooooooooooooo!!!!!
every time i have a problem i just solved it by my self .... i solve the problem of showing the contents of selected data grid row on to the other form that contains text boxes.... any one need help in this matter can send me the email ***** rind2006@gmail.com *******
thanks to every one

mkaras
08-30-2009, 03:56 PM
You could copy pass a copy of the data to the edit form. This is a useful scheme because the edit form (which you may have displayed in the vbModal way) should have a Cancel button that allows any edits to be cancelled and thrown away. You can support making the edits to the passed copy and then only on the Ok exit from edit plug the modified copy back into the data source.

mkaras

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum