G
Guest
I have problems binding with the new ObjectDataSource control, here is my
sample object:
Customer
FirstName
LastName
Phones (Child Collection)
I want to bind my Customer object to a FormView and at the same time reusing
the same Customer instance, bind a GridView with the customer phones. I
don't see how to bind the GridView to a property of my customer object.
As far as I can see, I don't control the instance of the object, I found
information about using ObjectCreating, but that event is never fire if the
SelectMethod is static, which is my case.
How should I do it?
Thanks in advance
sample object:
Customer
FirstName
LastName
Phones (Child Collection)
I want to bind my Customer object to a FormView and at the same time reusing
the same Customer instance, bind a GridView with the customer phones. I
don't see how to bind the GridView to a property of my customer object.
As far as I can see, I don't control the instance of the object, I found
information about using ObjectCreating, but that event is never fire if the
SelectMethod is static, which is my case.
How should I do it?
Thanks in advance