Solved

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

Posted on 2009-04-07
1
446 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 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

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

737 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