Hi,
I am using gridview in my form and binded the gridview with object datasource.I am trying to implement sorting for my grid view and i am getting following error.i am using asp.net with VB
Server Error in '/' Application.
--------------------------------------------------------------------------------
The data source 'objdsDataSourc e' does not support sorting with IEnumerable data. Automatic sorting is only supported with DataView, DataTable, and DataSet.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotSuppo rtedException: The data source 'objdsDataSourc e' does not support sorting with IEnumerable data. Automatic sorting is only supported with DataView, DataTable, and DataSet.
Can any one please help me how to solve this Problem
Thanks
I am using gridview in my form and binded the gridview with object datasource.I am trying to implement sorting for my grid view and i am getting following error.i am using asp.net with VB
Server Error in '/' Application.
--------------------------------------------------------------------------------
The data source 'objdsDataSourc e' does not support sorting with IEnumerable data. Automatic sorting is only supported with DataView, DataTable, and DataSet.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotSuppo rtedException: The data source 'objdsDataSourc e' does not support sorting with IEnumerable data. Automatic sorting is only supported with DataView, DataTable, and DataSet.
Can any one please help me how to solve this Problem
Thanks
Comment