I have a datagrid to show data from backend access file. when I click a button it was show. I want I click on a data and it will show in a text box of other form. anybody can help me.
you need to capture the row numner and colum number in the grid ,read it and pass the value to the textbox on another page.
Please help me urgent.
you use the grid property rowsel and colsel to specify the cell you click on then pass the value to a textbox.
Sorry. please tell another way or details.
on click event of the grid try this
Text1.Text = grid.TextMatrix(grid.RowSel, grid.ColSel)