for(int i=0;i<dgvbilling.Rows.Count;i++) { total=total+Convert.ToDouble(dgvbilling.Rows[i].Cells["amount"].Value.ToString()); }
double
float
Convert
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)