if ( datatable has row only then run given code ) { Do something; }
if (datatable.rows.count < 0) { // your code }
if (datatable.rows.count > 0) { // this code will run if data table has more than 0 rows, means there is at least 1 row in data table, data table is not empty. }
if (datatable.rows.count < 1) { // this code will run if data table does not has any data (means empty data table, 0 rows). }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)