I need to show the sum of the count column from this datagridview, but I don\'t know how I can get to the data in the datagridview.
count
datagridview
When I
Use LINQ if you can.
label1.Text = dataGridView1.Rows.Cast() .AsEnumerable() .Sum(x => int.Parse(x.Cells[1].Value.ToString())) .ToString();