Author: -_- | Posted on: 3/14/2010 11:24:42 PM | Views : 401

now  i use the dataview to sort the seq of datatable and bind to repeater, it can only display the seq correctly.
but i found that it is not the actual database seq, when i remove the row from the datatable, it is not remove the record that i see from the UI.

do i need to sort the seq to the actual datatable not the dataview.
now i use the seq (int) in datatable to sort the datatable as belows:

 DataView view = dt.DefaultView;

           view.Sort = "SEQ";
         
repeater.datasource=view;
repeater.databind();
...

Go to the complete details ...