Last post Nov 02, 2012 09:00 PM by Decker Dong - MSFT
Nov 02, 2012 05:36 AM|vikash12|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 05:38 AM|vikash12|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 02, 2012 09:00 PM|Decker Dong - MSFT|LINK
Can you show us your full codes?