Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 03, 2012 01:00 AM by Decker Dong - MSFT
Nov 02, 2012 09:36 AM|LINK
I am having two buttons update button and add button and i am using an object data source and form view to update and insert the data,
when i am adding a new record everything works fine,
but when i update and existing record and then try to insert a new record and give a username which already exists in the DB it return the appropriate error message but the data are lost which i enetered,it is not retained.
This is not happening when i add a record for the first time,that it before updating any record,
i think something is happening in update due to which after i add new records the data are not retained in the form view?
can any 1 help?
Nov 02, 2012 09:38 AM|LINK
after doing update when i call add new it is calling the method formview_rowdatabound which is i think clearing all the values,I cant figure out why it is called formview_rowdatabound??
Nov 03, 2012 01:00 AM|LINK
Can you show us your full codes?