Can someone help me? Using the following code, I should get the values in the cells of the selected row of my gridview. When I get the value of the cells, their empty.
Code:
protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
{
GridViewRow row = GridView1.Rows[e.RowIndex];
BLL_SelfService.DelPhnRec(Profile.Employees.EmpId, Convert.ToInt16(row.Cells[0]), Convert.ToInt16(row.Cells[1]), Convert.ToString(row.Cells[2]));
}
Comment