snufse
01-27-2004, 10:40 AM
I have a datagrid with x number of rows. I need to capture the row number user has clicked on. I have tried to use:
RowNumber = 0
RowSelected = DataGrid1.IsSelected(RowNumber)
but this line points to a specific row number only. Can I loop thru the grid like an array and check if any rows have been selected. If so what is the upperbound property for the grid array.
Maybe somebody has other solution ?? Thanks.
RowNumber = 0
RowSelected = DataGrid1.IsSelected(RowNumber)
but this line points to a specific row number only. Can I loop thru the grid like an array and check if any rows have been selected. If so what is the upperbound property for the grid array.
Maybe somebody has other solution ?? Thanks.