P
Peter
ASP.NET 3.5
I have a Gridview which display just fine
I have Delete and Update Template on this GridView
When I click on the Delete button on the GridView the following event fires
RowDeleting(object sender, GridViewDeleteEventArgs e)
but when I try to retrieve the data from a cell inside the RowDeleting event
protected void gvEducation_RowDeleting(object sender,
GridViewDeleteEventArgs e)
{
string transactionID = gvEducation.Rows[e.RowIndex].Cells[4].Text;
this._dt.DeleteEducation(transactionID);
this.BindEducationGrid();
}
the transactionID is always blank, but on the screen it displays values
(each cell has some value), actually all of the Cells return blanks, but
display data.
What am I doing wrong?
Thank You
Peter
I have a Gridview which display just fine
I have Delete and Update Template on this GridView
When I click on the Delete button on the GridView the following event fires
RowDeleting(object sender, GridViewDeleteEventArgs e)
but when I try to retrieve the data from a cell inside the RowDeleting event
protected void gvEducation_RowDeleting(object sender,
GridViewDeleteEventArgs e)
{
string transactionID = gvEducation.Rows[e.RowIndex].Cells[4].Text;
this._dt.DeleteEducation(transactionID);
this.BindEducationGrid();
}
the transactionID is always blank, but on the screen it displays values
(each cell has some value), actually all of the Cells return blanks, but
display data.
What am I doing wrong?
Thank You
Peter