Re: c# problem
Handle the CellContentClick event of the DataGridView.
Evaluate DataGridView.Columns(e.ColumnIndex).Name to get the name of the column clicked
If it's your button column, then you can get the value of any cell in that row with
DataGridView.CurrentRow.Cells["ColumnNameHere"].Value
Last edited by lucifer_is_back; 12-11-2009 at 12:47 PM.
|