GridView1.Rows.Count;
GridView1.DataSource = dt; // dt => datatable GridView1.DataBind(); int totalRows= dt.Rows.Count;
Count
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)