Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42394

VS 2012 FORMVIEW CONTROL - How to retain values after saving new record

$
0
0
Hello: I have a web application I'm creating using vs 2012.
On a form, I have a formview control. The default mode is set to Insert.

After the user enters a bunch of info into the controls, they click to save.
The data gets inserted into the database; however, all the data dissapears.

I'd like the data to remain and have the mode set to Edit so they can then edit if they wish at this point.
Maybe I need to try something like this:

frmCustomerInformation.ChangeMode(FormViewMode.Edit)

but not sure what event to place it in.

Thanks for your help,
Proctor

Viewing all articles
Browse latest Browse all 42394

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>