for (int i = 0; i < DataList2.Items.Count; i++)
{
st3 = ((Label)DataList2.Items[i].FindControl("lblnameCR")).Text;
if (st3 == "CLOSING A/C")
{
((Label)DataList2.Items[i].FindControl("lblProftCr")).Text = st4;
}
}
foreach (GridViewRow row in GridView2.Rows)
{
string st1 = ((Label)row.Cells[0].FindControl("lblCr")).Text;
totalsales = st1;
break;
}
No comments :
Post a Comment