does each sorting need 1 datasource? RRS feed


  • User-693248168 posted

    What is your DataSource?

    Are you using DataTable as your datasource or are you binding to custom list?

    If you are using DataTable or DataView etc for displaying your data, then sorting is quite easy with this.

    The DataView has a sort property which when assigned to a column (or combination of column) will sort the data in the view.

    I will suggest that your datasource should be only one. Then you can sort as per condition.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, February 6, 2011 1:58 AM