Assembly: System.Web (in System.Web.dll)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] public class ObjectDataSourceSelectingEventArgs : ObjectDataSourceMethodEventArgs
The class is used in the OnSelecting method. Because it is derived from the ObjectDataSourceMethodEventArgs class, the class provides access to input parameters for validation and manipulation through the InputParameters property. The class also provides the ExecutingSelectCount property, which is used to check whether the currently executing data retrieval operation is retrieving a row count, in addition to the data. This is important because when data source paging is enabled, the Selecting event is raised twice. For more information, see ExecutingSelectCount.
The ObjectDataSource control exposes many events that you can handle to work with the underlying business object at various times in its life cycle. The following table lists the events and associated EventArgs classes and event handler delegates.
Occurs immediately before the business object is instantiated.
Occurs immediately after the business object is instantiated.
Occurs before the data is retrieved.
Occur before an insert, update, or delete operation is performed.
Occurs after the data is retrieved.
Occur after the insert, update, or delete operation is completed.
Occurs before a business object is destroyed.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
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.