Hi,
I was just wondering... I can get the text from the column DateofRequest because it's there in the gridview but on my linq query i set it so that the primary key ["PKEY"] is not shown. And if i try this string dateOfRequest = View.GetRowCellDisplayText(e.RowHandle, View.Columns["PKEY"]); i just get an error.
How to i go about getting the primary key data from the selected row without having to show the primary key column.
GridView
{
Thanks in advance
Anthony

Amit ChoudharyRank #145 · 15.8K reputationPosted Aug 24, 2011, 8:57 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Aug 25, 2011, 12:26 AM EDT