How do you manually modify a bound object with a FormView?
问题 I am using a FormView with an ObjectDataSource. When the save button is clicked, I would like to modify the data bound object before it gets set to the ObjectDataSources Update method. I tried the FormView's Updating event as well as the Object Data Source's Updating event but I can't figure out how to access the data bound object. FormView.DataItem is null in those events. Or in other words, I would like to intercept and modify the DataItem before it gets passed to the ObjectDataSource