if (dr.HasRows) { int count = 0; while (dr.Read()) { count++; }
count
int count = 0; while (Rdr.Read()) { count++; } //check the value of count here. This will be the number of rows returned.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)