net and C# 4.
I have a DetailsView Control
, and I use some custom logic for data binding.
When input data in my DetailsView I would like to use the Event "Inserted"
(or another) to get from the DetailsView the Primary Key for the recently inserted data (I suppose using the DataKey properties).
Unfortunately I'm not able to do it.
Do you have any idea how to insert retrive the Primary Key for a item being inserted using the DetailsView?
Thanks for your help!