Storing Data in ASP.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi all,
I have a requirement where in,i have a user interface which has some text boxes, dropdown lists,links and finally a submit button and cancel/reset button.

The requirement is that i enter data into all the textboxes and select values in the dropdown boxes. And when i click on the link buttons, a new page should get loaded where in there will be some more textboxes and other ui objects. I enter data and click on "save and go back" button.And i come back to the original page. This page should have retained all the data i had entered before clicking on the link button. And finally when i say submit the data entered in both the pages should be saved into database.
If i say cancel/reset, the data entered in both the pages should get discarded.

How can i achieve this. I was able to achieve it by generating an ID for this everytime a usercomes to this page, and save the data before the user goes to the other page and delete it incase the user clicks on the cancel button.

Any one of you know any other method.

Rgds
Ravi

The question is how can i store and where can i store the data
 
ASP.NET State Management via .NET Framework Developer's Guide


--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/




Ravi said:
hi all,
I have a requirement where in,i have a user interface which has some text
boxes, dropdown lists,links and finally a submit button and cancel/reset
button.
The requirement is that i enter data into all the textboxes and select
values in the dropdown boxes. And when i click on the link buttons, a new
page should get loaded where in there will be some more textboxes and other
ui objects. I enter data and click on "save and go back" button.And i come
back to the original page. This page should have retained all the data i had
entered before clicking on the link button. And finally when i say submit
the data entered in both the pages should be saved into database.
If i say cancel/reset, the data entered in both the pages should get discarded.

How can i achieve this. I was able to achieve it by generating an ID for
this everytime a usercomes to this page, and save the data before the user
goes to the other page and delete it incase the user clicks on the cancel
button.
 
Back
Top