Requirement | Year | Qtr. 1 | Internal Process | Internal Project | External BSI | External CMMI |
CMMI CAM SG 1 | 2015 | 7 | 4 | 1 | 0 | 2 |
I am trying to sum several fields into one.
This code is giving me an error that these 4 fields do not exist in the current context.
protected void gvInternalAudit_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Label Qtr1 = (Label)e.Row.FindControl("lblQtr1");
int lblQtr1 = int.Parse(Q1IntProc.Text) + int.Parse(Q1IntProj.Text) + int.Parse(Q1ExtBSI.Text) + int.Parse(Q1ExtCMMI.Text);
Qtr1.Text = Qtr1.ToString();
}
}