Binding navigation properties to formview
I'm using formv开发者_如何学运维iew and objectdatasource for editing/inserting objectdatasource. I want to update an entityobject properties together with its navigation properties in a single formview. Is this possible? Any ideas on how to do it?
Yes, it's possible. One way is to override the FormView.ItemInserting/ItemUpdating
methods and add add new values of any type and kind (including navigation properties) by hand here.
精彩评论