DetailsView (or GridView), ObjectDataSource and DataObjectTypeName
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am using a DetailsView, which hooks up to a ObjectDataSource. The ObjectDataSource defines DataObjectType, so that insert/amend operations give me this DataObject, instead of a collection of values. This is all fine. What I want to know is if it is possible to get this same object from the DetailsView without having to trigger such an operation (i.e. insert/edit). So, does anyone know how the ObjectDataSource gets the DataObject from the DetailsView (i know about Data Binding)? Alternatively, is there a way to specify a non-standard method, which can take advantage of the same features that are available to insert/edit/delete? thankyou