?
Solved

Entering Unlimited Line Items in ASP.NET

Posted on 2012-08-16
5
Medium Priority
?
472 Views
Last Modified: 2012-09-01
I am taking some line item information from the user pertaining to driving violations.(Date of Conviction,Offense,Location, Type of Vehicle Operated) I have to make it so the user can enter pretty much an unlimited amount of line items. Does anybody have any suggestions or examples on the best way to accomplish this in C# and asp.net. Any help or advice would be most appreciated.

Jason
0
Comment
Question by:jazzcatone
  • 3
5 Comments
 
LVL 35

Expert Comment

by:YZlat
ID: 38301336
are you writing that to the file or entering into a data structure.

If data struucture, try ArrayList
0
 

Author Comment

by:jazzcatone
ID: 38301392
It will be written to data. Yes , I need to figure this out as well. However, I guess I was thinking more about the user interface first. To your point, whatever I choose I will most likely end up iterating through something. However, I'm not sure if I'm even that far just yet.

Jason
0
 
LVL 20

Expert Comment

by:informaniac
ID: 38301963
A multine textbox should be suffice for you.
0
 

Accepted Solution

by:
jazzcatone earned 0 total points
ID: 38329222
I used an EssentialObjects data grid that lets me add as many items as possible. It also keeps a list of added, edited , deleted items on the client before commiting to the database with a postback
0
 

Author Closing Comment

by:jazzcatone
ID: 38356838
Worked well
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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.
Hello there! As a developer I have modified and refactored the unit tests which was written by fellow developers in the past. On the course, I have gone through various misconceptions and technical challenges when it comes to implementation. I would…
Integration Management Part 2
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month14 days, 19 hours left to enroll

840 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