473,395 Members | 1,413 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,395 software developers and data experts.

Collection of data in multiple forms

Hello,
I need to collect a lot of data before really committing changes

For examples
I need to collect User Personal Information
Then Collect CreditCard information
etc.

Today I have it in one page
Which is too much in my view

I would like to break it down in to two or more pages and process it at the
end

I was thinking of collecting the data and storing it in a Session object and
then process all of it in the last page

Are there any issues in storing the data in Session variables

Any other ways I could do it

Thanksin Advance
Jul 9 '06 #1
2 1276
Use a multi-panel form (allows you to "wizard" the page). Show each panel in
order and keep the info stored in the controls on the page. Even when
invisible, you will still hold the control's info in ViewState. This way you
do not have to work with session elements.

If you need to go to session, create objects that have the info you need to
persist to the database when the user is finished and keep the objects in
session. Be sure to clear them out after you are done with the order.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"anonymous" <an*******@msn.comwrote in message
news:uh**************@TK2MSFTNGP05.phx.gbl...
Hello,
I need to collect a lot of data before really committing changes

For examples
I need to collect User Personal Information
Then Collect CreditCard information
etc.

Today I have it in one page
Which is too much in my view

I would like to break it down in to two or more pages and process it at
the end

I was thinking of collecting the data and storing it in a Session object
and then process all of it in the last page

Are there any issues in storing the data in Session variables

Any other ways I could do it

Thanksin Advance

Jul 9 '06 #2
That's great information, Gregory. I've just begun working on my first
legitimate ASP.Net web site, and I am also working on implementing a
data entry screen with hidden panels to accommodate a large amount of
data. My problem is that the additional panels will be used to display
(or hide) individual grids containing child data. Is there a way of
adding multiple child rows without actually writing them to the
database, pending the user ultimately clicking the Save button on the
parent data section?

I'd like to design it so that when the user clicks Save on a child data
panel, it doesn't actually save it to the database, only to the local
datatable, with all changes for both parent and child tables written to
the database at the same time when the user clicks the main Save button
- or something to that effect. Hmm, I'm guessing that a scenario like
that would also require me to trigger the writing of the data in the
correct order to avoid RI conflicts.

Rich

Cowboy (Gregory A. Beamer) wrote:
Use a multi-panel form (allows you to "wizard" the page). Show each panel in
order and keep the info stored in the controls on the page. Even when
invisible, you will still hold the control's info in ViewState. This way you
do not have to work with session elements.

If you need to go to session, create objects that have the info you need to
persist to the database when the user is finished and keep the objects in
session. Be sure to clear them out after you are done with the order.

--
Gregory A. Beamer

*************************************************
Think Outside the Box!
*************************************************
"anonymous" <an*******@msn.comwrote in message
news:uh**************@TK2MSFTNGP05.phx.gbl...
Hello,
I need to collect a lot of data before really committing changes

For examples
I need to collect User Personal Information
Then Collect CreditCard information
etc.

Today I have it in one page
Which is too much in my view

I would like to break it down in to two or more pages and process it at
the end

I was thinking of collecting the data and storing it in a Session object
and then process all of it in the last page

Are there any issues in storing the data in Session variables

Any other ways I could do it

Thanksin Advance
Jul 10 '06 #3

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

Similar topics

8
by: Joseph | last post by:
I am attempting to create a function that will hide all SPANS within an ided DIV ="idMain", then only display one span, but this function gives an error when it gets to elChildElement as being...
2
by: SammyBar | last post by:
Hi, I'm trying to bind a custom collection class to a data grid, following the guidelines from the article http://msdn.microsoft.com/msdnmag/issues/05/08/CollectionsandDataBinding/default.aspx....
18
by: Scott | last post by:
I have a collection where the items in the collection are dates. I want to iterate over the collection and build a value list string for the rowsource of a listbox. The dates in the collection are...
2
by: Robert W. | last post by:
I'm trying to write a utility that will use Reflection to examine any data model I pass it and correctly map out this model into a tree structure. When I say "any" , in fact there will only be 3...
2
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
15
by: Alex | last post by:
Does anybody know why VB.NET would omit the Forms collection available in previous versions versions of VB? I imagine that there must be a reason why they decided to do away with it, but I can't...
4
by: Michael | last post by:
Dear all .. If I want to use develop a user control and declare a public property which the type is System.Windows.Forms.GridTableStylesCollection For example : Public Class LookAndView...
19
by: Jamey Shuemaker | last post by:
I'm in the process of expanding my knowledge and use of Class Modules. I've perused MSDN and this and other sites, and I'm pretty comfortable with my understanding of Class Modules with the...
0
by: Mike | last post by:
Hi, I have a collection object bound to a data grid, after I remove an item from the collection, the minute I click on the datagrid I get an error saying the specified argument was out of the...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.