According to the msdn documentation, as you can see on the diagram, a server control’s “Data binding events” occurs after all “control changed events”. So in the case of a DetailsView control, the ItemInserted event would happen before the database operation? Obviously this cannot be correct?
Share
Check out the MSDN article for the control’s event.
In the case of a DetailsView.ItemInserted Event:
There is also the DetailsView.ItemInserting Event that is raised before the insert to the database