Hello,
I would like on the postback loop the RadGrid and get the value of particular column like ("Column1") for each rows.
something like
I would like on the postback loop the RadGrid and get the value of particular column like ("Column1") for each rows.
something like
protected void but1Click(object sender, EventArgs e)
{
foreach (GridItem item in RadGrid1.MasterTableView.Items)
{
if (item is GridDataItem)
{
GridDataItem eItem = item as GridDataItem;
string svalue = eItem.GetDataKeyValue("Column1")
}
}
}
It seems like "GetDataKeyValue" is not right way to get the value.
What is the efficient way to get the value of each Column?
Thank you