public void bankaaraToplam()
{
decimal toplamSayi = 0;
for (int i = 0; i < GridView2.Rows.Count; i++)
{
Label3.Text = GridView2.Rows[i].Cells[2].Text;
toplamSayi += decimal.Parse(Label3.Text.Replace("₺", ""));
}
Label3.Text = "Müşteri Ara Toplam :" + toplamSayi.ToString("##,###.00") + " ₺";
}

Hiç yorum yok:
Yorum Gönder