473,386 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Storing Data in ASP.NET

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
Nov 18 '05 #1
1 1193
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 cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/


"Ravi" <an*******@discussions.microsoft.com> wrote in message
news:7D**********************************@microsof t.com...
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

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Francisco | last post by:
I have this problem: I have a database with information about games, and users are able to vote for them. Everytime a user votes for a game I store the unique game name into a session variable (an...
1
by: Kay | last post by:
A linked list is storing several names. I want to make a queue if I input a name that is same as the linked list. How to make each node of a linked list storing a queue that are different with each...
7
by: Dave | last post by:
I have a system that basically stores a database within a database (I'm sure lots have you have done this before in some form or another). At the end of the day, I'm storing the actual data...
6
by: bissatch | last post by:
Hi, I am currently writing a news admin system. I would like to add the ability to add images to each article. What I have always done in the past is uploaded (using a form) the image to a...
1
by: VMI | last post by:
Is it possible to store the data in a datatable in the hard disk instead of the memory? By default, when a datatable's being filled, the table (and data) will remain in memory. Would it be possible...
6
by: Kyle Teague | last post by:
What would give better performance, serializing a multidimensional array and storing it in a single entry in a table or storing each element of the array in a separate table and associating the...
6
by: (PeteCresswell) | last post by:
User wants to go this route instead of storing pointers in the DB and the documents outside. Only time I tried it was with only MS Word docs - and that was a loooong time ago - and it seemed to...
20
by: Martin Jørgensen | last post by:
Hi, I'm reading a number of double values from a file. It's a 2D-array: 1 2 3 4 5 6 7 ------------- 1 3.2 2 0 2.1 3 9.3 4
7
by: Mike | last post by:
I have developed an application, for psyc patients.... they type in very personal information in a web form to help them work through problems in their lives. Once they enter the info, I encrypt...
4
by: Falcolas | last post by:
I personally feel that it's a bad idea. I've got to convince managerial types of this. Would some of you mind posting comments for and against the concept of storing data in XML attributes? If...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.