Wednesday, 28 December 2016
Sunday, 4 December 2016
How to calculate all value of datagridview column in single code
Dim sumcolumn As Integer = (From row As DataGridViewRow In DataGridView1.Rows Where row.Cells(0).FormattedValue.ToString() <> String.Empty Select Convert.ToInt32(row.Cells(0).FormattedValue)).Sum().ToString()
Subscribe to:
Posts (Atom)