----------OBJECT DATA SOURCE----------
• The ObjectDataSource class enables user-defined classes to associate the output of their methods to data-bound controls
• ODS control represents a middle-tier object with data retrieval and update capabilities
• The ODC control acts as a data interface for data-bound controls such as the GridView, FormView or DetailsView controls, and enables those controls to display and edit data from a middle-tier business object on an ASP.net page
• ODS control supports a three-tier architecture by providing a way to bind data controls on the page to a middle-tier business object
• ODS works with a middle-tier object to select, insert, update, delete, page, sort, cache and filter data declaratively without extensive code
• Like other data source controls, ObjectDataSource supports declarative paramaeters to allow developers to pass page-level variables to object’s methods
• The ObjectDataSource class makes some assumptions about about the objects it wraps. As a consequence, an arbitary class cant’ be used with this data source control
No comments:
Post a Comment