Solved

VB.NET ASPX e-mail form, need repeating data

Posted on 2009-04-07
1
441 Views
Last Modified: 2013-11-26
I have made dozens of forms in VB.NET on ASPX pages that e-mail information entered in a web form, but I have an unusual situation.

I need a form that has a repeating subgroup of data.  For example, I have:

NAME:
PHONE:
ADDRESS:

ITEM 1:
ITEM 2:
...
ITEM X:

So a group of fields are entered one time, but then there needs to be the ability to enter an infinite number of items.

I had initially thought of having perhaps 5 ITEM rows available, with an "Add ITEM" button that would add a 6th, 7th, 8th row, etc. but then I would be storing all this information in arrays, and I'm not quite sure where to start on that, or if that is the right path to go down.  I also know I can do this with a database form and back-end but to do it where all the data is simply stored on the form until it's processed and inserted into an e-mail is vexing me.

Any advice on where to look for hints on starting would be appreciated.  I'm programming this using VB.NET for our ASPX pages.
0
Comment
Question by:thearniec
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 24095598
You can use a DataGridView and a in memory DataTable. You do not need a database backend.

http://www.devasp.net/net/articles/display/184.html
http://www.sitepoint.com/article/net-shopping-cart-datatables/
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now