can sqldatareader be null

Solutions on MaxInterview for can sqldatareader be null by the best coders in the world

showing results for - "can sqldatareader be null"
Ewenn
14 Oct 2016
1if (myReader.HasRows) //The key Word is **.HasRows**
2{
3    ltlAdditional.Text = "Contains data";
4}
5else
6{   
7    ltlAdditional.Text = "Is null Or Empty";
8}
9