How can I read a specific row and column in rowbound? If I had 2 values in my gridview, I want to read the per row and column in rowbound
code here
protected void gvModal_RowDataBound(object sender, GridViewRowEventArgs e)
{
if(e.Row.RowType == DataControlRowType.DataRow)
{
string idd = gvModal.DataKeys[e.Row.RowIndex].Value.ToString();
string qa = "select Date_Issued, Quantity, Unit FROM Issuance_Consumables";
GridView gvDet = (GridView)e.Row.FindControl("gvIssuance");
gvDet.DataSource = GetData2(qa);
gvDet.DataBind();
}
}
DateIUssued, Quantity and Unit will vary from the "Model","Company", etc from the string "idd"