Solving “The Select operation is not supported by .. unless the SelectMethod is specified.”

Posted by anas on ASP.net Weblogs See other posts from ASP.net Weblogs or by anas
Published on Tue, 20 Apr 2010 18:38:00 GMT Indexed on 2010/04/20 18:44 UTC
Read the original article Hit count: 293

Filed under:
In most cases, You will get that error when you are using a data source control(like ObjectDataSource) without setting it’s SelectMethod as data source for the DetailsView control. If you want to display one record in the detailsView control to allow the user to edit it, then you should set the SelectMethod for the DataSource control,otherwise the detailsView control will not be able to get the record from the underlying datasource. But what if you are only using the DetailsView for only inserting...(read more)

© ASP.net Weblogs or respective owner

Related posts about ASP.NET