I have a datagrid that is bound to a dataset and it has 45 records showing (4 columns per record). But when I try to get one of the values it returns a blank string!!! Why?????
I'm using the following code to get the value:
strValue = DataGrid1.Items(10).Cells(1).Text
No matter what number I use for the item (save anything greater than 45) it returns a blank string.
I'm using the following code to get the value:
strValue = DataGrid1.Items(10).Cells(1).Text
No matter what number I use for the item (save anything greater than 45) it returns a blank string.