tags:

views:

171

answers:

1

I have a web page with an editable DetailsView. After it is (successfully) edited, I need to use some of the edited fields to update some other tables in the database (in the code behind). I tried to use the DetailsView.DetailItem in the DetailsView_ItemUpdated event code, but the DetailItem isn't available any more - it is null. What's the best way to get at the updated field information?

+1  A: 

It's hard to tell what you're trying without seeing some code. How are you trying to access the updated information? You should be able to access the DetailsViewUpdatedEventArgs Properties in the ItemUpdated event by using the "e" parameter. You can see an example of this where the Keys property is accessed on this page.

Ahmad Mageed
Thanks for your help. This was exactly what I needed.
dsteele