Identifies a type as an object suitable for binding to an System.Web.UI.WebControls.ObjectDataSource object. This class cannot be inherited.
See Also: DataObjectAttribute Members
Use the System.ComponentModel.DataObjectAttribute attribute to identify an object as suitable for use by an System.Web.UI.WebControls.ObjectDataSource object. Design-time classes such as the System.Web.UI.Design.WebControls.ObjectDataSourceDesigner class use the System.ComponentModel.DataObjectAttribute attribute to present suitable objects to bind to an System.Web.UI.WebControls.ObjectDataSource object.
For more information about using attributes, see Extending Metadata Using Attributes.