?
Solved

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

Posted on 2009-04-07
1
Medium Priority
?
451 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

743 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