Representing Objects with the ObjectDataSource Control

The ObjectDataSource control includes five main properties:

TypeName The name of the type of object that the ObjectDataSource control represents.

SelectMethod The name of a method that the ObjectDataSource calls when selecting data.

UpdateMethod The name of a method that the ObjectDataSource calls when updating data.

InsertMethod The name of a method that the ObjectDataSource calls when inserting data.

DeleteMethod The name of a method that the ObjectDataSource calls when deleting data.

An ObjectDataSource control can represent any type of object in .NET Framework. This section discusses several types of objects you might want to represent. For example, you learn how to ...

Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.