views:

23

answers:

0

Hello, I would like to have some convenient way to edit my objects, that are EntityObject or some other ones. I want only to provide 2-sides binding and then update the object in DB on myself. Unfortunately I cannot use DetailsView control because it requires datasource as IEnumerable whereas I have simple EntityObject. The using of ObjectDataSource is not convenient too because of some reasons. All I need is to have some container where to place controls like textboxes and others, every should be bound to the field of the object and container should be bound to the object itself. Then when I want to update for example my object I just want to pull out update one from container and it should have all fields updated accordingly values of the bound controls. How to do that? Thanks