How can I get the value of a gridview cell? I have been trying the code below with no luck.
gridview
protected void grvExpirations_RowDataBound(object
protected void grvExpirations_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { int test = Convert.toInt32(e.Row.Cells[5].Text); } }