ASP.NET Gridview control not supporting Sorting for Collection obj

G

Guest

Here is the error:

direct link to erro image :

http://img473.imageshack.us/img473/1666/untitled2pp.jpg

Hi,
I have a gridview control on the page which is bound to business object via
objectdatasource and i m using collection to bring all my data on page. This
used to work fine in beta version and no coding was changed. In RTM version
every time
I click on column to sort it its giving me following error.


"The data source 'MyDataSource' does not support sorting with IEnumerable
data. Automatic sorting is only supported with DataView, DataTable, and
DataSet."

I have my all data coming as a collection object , I am not using dataset
anywhere.

PLEASE someone tell me I will not have to re-write this.

HELP !!!!:s
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top