Your Ad Here

Posted By

krisdb on 04/17/08


Tagged

c-sharp


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


DataView from DataTable


 / Published in: C#
 

  1. DataTable dtName = new DataTable();
  2.  
  3. DataView dvName = dtName.DefaultView;
  4. dvName.RowFilter = "ID = " + intID
  5. dvName.Sort = "Date DESC";

Report this snippet  

You need to login to post a comment.