title: Check to see if DataView is Empty
body: <p>I'm trying to determine if a <code>DataView</code> does not contain data.   </p>
  
  <pre><code> lsSql = "Select col1, col2 from table where tableId = " + Id;
   DataView loCheck = Global.db.GetDataView(lsSql);
   if (loCheck .Count &gt; 0)
   {
       checkSelected= true;
   } else {
       checkSelected= false;
   }
  </code></pre>
  
  <p>Currently if col1 and col2 are empty I get 2 rows (null) returned and checkSelected is always equal to true.  </p>
  
  <p>How can I see if a DataView doesn't contain any data?</p>