Friday, June 08, 2007

ObjDataSource Control in ASP.NET 2.0

1) Name a few properties of the ObjDataSource Control?
TypeName
SelectMethod
UpdateMethod
InsertMethod
DeleteMethod

2) How does a GridView control binds to a ObjDataSource control?
by DataSourceID property on the GridView control is set to the id of the ObjDataSource control

3) Which ADO.NET objects can be represented by ObjDataSource?
DataReader
DataSet

4) Can ObjDataSource represent a web service?
Yes

5) Which Parameters can be included in the ObjDataSource control?
SelectParameters
InsertParameters
UpdateParameters
DeleteParameters
FilterParameters

6) Which types of parameters can be used with ObjectDataSource control?
Parameter
ControlParameter
CookieParameter
FormParameter
ProfileParameter
QueryStringParameter
SessionParameter

7) Which events are supported by ObjDataSource control?
Deleting
Deleted
Inserting
Inserted
Selecting
Selected
Updating
Updated
Filtering
ObjectCreating
ObjectCreated
ObjectDisposing

No comments:

Post a Comment