ParseException Class
Represents errors that occur when a LinqDataSource control parses values to create a query.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
The ParseException object contains information about exceptions that occur when the LinqDataSource control parses values in order to dynamically create a query.
If the Select property includes a property that is not in the data object, the LinqDataSource control raises a ParseException exception. The message indicates that the property does not exist in the data object.
You can assign the data object in the Selecting event by setting the Result property to an object that is returned from a query. If you select a property that does not exist in the data object, the LinqDataSource control raises a ParseException exception. The message indicates that the particular property does not exist in an AnonymousType object.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.