send record from the datagridview to next page
-
hi! in windows application, i am using datagridview in a form to display the records from the database. my query is that, when i select the checkbox and click edit button of any record from the datagridview the related value of the selected checkbox appear on the textbox of second form. please guide me on this. thanx with regards
-
hi! in windows application, i am using datagridview in a form to display the records from the database. my query is that, when i select the checkbox and click edit button of any record from the datagridview the related value of the selected checkbox appear on the textbox of second form. please guide me on this. thanx with regards
I might misinterpret your question, but if you want to know how to pass a value from Form1 to Form2 (that value being the selected value of a cell in datagrid), just read the value and send it as a parameter to the constructor of Form2 and set the
Text
property of the textbox (of Form2) to the parameter value.