1
Answer

This code is in C# . I need the same code in ASP.NET

raja sri

raja sri

10y
836
1
This code  is in C# . I need the same code in ASP.NET.Can you provide me the code? 
 
protected void btntotal_Click(object sender, EventArgs e)
{
 
For(int i=0;i<GV_FundingSources.rows.count-1;i++)
{
If(datagridview1.rows[i].cells[2].values==”---”)
{
}
Else
{
Decimal a= Convert.ToDecimal (datagridview1.rows[i].cells[2].values.ToString());
b=b+a;
}
}
 
}
 
Answers (1)