raja sri

raja sri

  • NA
  • 3
  • 2.7k

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

Feb 22 2014 6:41 AM
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)