lbl_row.Text = dataGridView1.RowCount.ToString();
datagridview.Rows.Count
int noOfRows = dataGridView1.RowCount; MessageBox.Show(noOfRows.ToString());
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)