J
J055
Hi
I'd like to do the following with the FormView/ObjectDataSource but not sure
of the best approach.
1. Change the FormView mode to Edit if a valid QueryString ID exists or
Insert mode if it doesn't
2. If in Insert mode then when the form is posted it should get the new ID
from the inserted record and change the FormView Mode to Edit
3. The SelectParameters ID must be updated too as it needs to get the new
record.
My InsertMethod business object returns the new ID.
Many thanks
Andrew
I'd like to do the following with the FormView/ObjectDataSource but not sure
of the best approach.
1. Change the FormView mode to Edit if a valid QueryString ID exists or
Insert mode if it doesn't
2. If in Insert mode then when the form is posted it should get the new ID
from the inserted record and change the FormView Mode to Edit
3. The SelectParameters ID must be updated too as it needs to get the new
record.
My InsertMethod business object returns the new ID.
Many thanks
Andrew