Hey guys,
Im working with a DataGrid in ASP.NET 2.0. Nothing fancy.
All I want to do is get the data from a cell within the selected row, nice and easy to do if the cell is set to visible:
If the cell is set to visible, as I don't really need my users to see a particular field, the same line comes back with nothing.
Is there any way to get the data?
Regards, Daniel.
Im working with a DataGrid in ASP.NET 2.0. Nothing fancy.
All I want to do is get the data from a cell within the selected row, nice and easy to do if the cell is set to visible:
Code:
String MsgID;
MsgID = gvInbox.SelectedRow.Cells[0].Text;
If the cell is set to visible, as I don't really need my users to see a particular field, the same line comes back with nothing.
Is there any way to get the data?
Regards, Daniel.