Hi All,
Can anyone help me out here?
I am trying to get the value of a GV cell, code is below (Obviously
not useful - But this is what I have ended up with during my testing).
I have bound columns and template columns - e.Row.Cells[i].text() is
always an empty string!
Cheers!
Simon.
protected void GVContacts_RowCreated(object sender,
GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
for (int i = 0; i < e.Row.Cells.Count; i++)
{
this.Label1.Text += e.Row.Cells[i].text();
}
}
}