Finding new record in DetailsView with ObjectDataSource

M

Mike Baker

Hi,

I've been reading through 'DetailsView Insert' and 'DropdownList Datasource
Dependency' threads. I have a similar issue but my case uses an
ObjectDataSource for the DetailsView. What I want to do is position the
DetailsView on new record after an insert. The data access layer does
populate the object's new ID returned from the db. I have been looking at
both the dvCustDetails_ItemInserted and at odsCustomer_Inserted events and I
can't find the spot that contains my updated 'Customer' object. Can someone
point it out for me?

TIA,
Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top