Solved

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

Posted on 2009-04-07
1
439 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
Comment Utility
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

7 Experts available now in Live!

Get 1:1 Help Now