J
J055
Hi
I have a Business class called User which returns a DataRow for individual
user accounts using accountID as a parameter (i.e.
User.Retrieve(accountID)). The ObjectDataSource doesn't complain if I attach
the method to the SelectMethod property but the DetailsView does not display
it properly. The returned data in the DataRow is correct.
Do I need to put the DataRow back in a DataTable first or is there another
way? Also, if my class returns a user account through public properties can
I use the ObjectDataSource?
Can someone give me some pointers? I've already read most of the msdn stuff
but most of it seems to use the SqlDataSource as an example with the
DetailsView. So anything which deals with the DetailsView and
ObjectDataSource together would be useful.
Many thanks
Andrew
I have a Business class called User which returns a DataRow for individual
user accounts using accountID as a parameter (i.e.
User.Retrieve(accountID)). The ObjectDataSource doesn't complain if I attach
the method to the SelectMethod property but the DetailsView does not display
it properly. The returned data in the DataRow is correct.
Do I need to put the DataRow back in a DataTable first or is there another
way? Also, if my class returns a user account through public properties can
I use the ObjectDataSource?
Can someone give me some pointers? I've already read most of the msdn stuff
but most of it seems to use the SqlDataSource as an example with the
DetailsView. So anything which deals with the DetailsView and
ObjectDataSource together would be useful.
Many thanks
Andrew