title: How to delete all rows from datatable
body: <p>I want to delete all rows from datatable with rowstate property value Deleted.</p>
  
  <pre><code>DataTable dt;
  dt.Clear(); // this will not set rowstate property to delete.
  </code></pre>
  
  <p>Currently I am iterating through all rows and deleting each row.</p>
  
  <p>Is there any efficient way?
  I don't want to delete in SQL Server I want to use DataTable method.</p>
  
  <hr>