Hi
In below code i want to display sum of Budget Amount in Footer
if (Result != null)
{
htmlTable.Append("
| # | Year | Department | Budget Amount | |
|---|---|---|---|---|
| " + rownum + " | ");" + colum.BusinessYear + " | ");" + colum.Department + " | ");" + Convert.ToDecimal(colum.BudgetAmount).ToString("0,0", System.Globalization.CultureInfo.CreateSpecificCulture("hi-IN")) + " | ");
PlaceHolder1.Controls.Add(new Literal { Text = htmlTable.ToString() });
}
Thanks


Ramco RamcoRank #462 · 5.4K reputationPosted Aug 2, 2022, 11:17 AM EDT
Ramco RamcoRank #462 · 5.4K reputationPosted Aug 2, 2022, 11:25 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Aug 2, 2022, 11:07 AM EDT