View Single Post
  #3 (permalink)  
Old July 31st, 2004, 04:15 AM
mehdi62b mehdi62b is offline
Friend of Wrox
 
Join Date: Jul 2004
Location: Tehran, , Iran.
Posts: 623
Thanks: 0
Thanked 1 Time in 1 Post
Default

Also you can use DataView(it's RowFilter property).
-------
DataView dvw=new DataView(yourDataTable);
dvw.RowFilter="ID<=10";
yourDtaGrid.DataSource=dvw;
yourDtaGrid.DataBind();
-------
HTH.

--------------------------------------------
Mehdi.