Posted on: 6/16/2015 8:01:08 PM | Views : 678

I'm using Visual Web Developer 2010 Express with SQL Server 2008 Express, VB.
I have code similar to what is below except it is for FormView1_ItemUpdating and everything works fine.  I copied it and changed it to ItemUpdating and am getting unexpected results.  When insert is clicked the new window opens (as expected) and all required data is shown (transferred by session values) but the original FormView goes blank.  Data to be inserted disappears and the user is left with nothing if the e.cancel command is issued.
Is there a way to retain the FormView data if e.cancel is invoked?
What I want is when the insert command is clicked, the values for PCB_Footprint and Schematic_Part are checked against the database for new entries.  If new entries are found the footprints.aspx window opens and allows the user to continue (whereby the new entries are added to the database) or return to the insert mode to make corrections.  As is the ...

Go to the complete details ...