title: Filter data from DataTable
body: <pre><code>DataTable dtt = (DataTable)Session["ByBrand"];
  var filldt = (dtt.Select("Price &gt;= " + HiddenField1.Value + " and Price &lt;= " + HiddenField2.Value + "")).CopyToDataTable();
  </code></pre>
  
  <p>this code is working fine when it found values in selected DataTable but it showing error when Values are not found in DataTable. So please tell me how to check if no record found.</p>