Link to home
Start Free TrialLog in
Avatar of shpresa
shpresaFlag for United States of America

asked on

asp.net C#, paging

Exception Details: System.NotSupportedException: The data source does not support server-side data paging.

Source Error:

Line 97:
Line 98:         gridsearch.DataSource = reader;
Line 99:         gridsearch.DataBind();
Line 100:
Line 101:        reader.Close();
ASKER CERTIFIED SOLUTION
Avatar of Felipe Souza
Felipe Souza
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shpresa

ASKER

Great! Worked fine. Thanks a bunch
If your Obj ectDataSource SELECT method doesnt return a DataSet or a DataReader, youll get the above
runtime error. Are you using Multiple tables and INNER JOINS etc?

Take a look at this page it may have the answer:

http://msdn.microsoft.com/en-us/library/aa479347.aspx

wc