Dataset ds=(DataSet)GridView1.DataSource; if(ds.Tables[0].Rows.Count<=0) { //msg; } else { //msg; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)