Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating/editing MD arrays

Status
Not open for further replies.

travisbrown

Technical User
Dec 31, 2001
1,016
What is the best way to create two dimensional arrays in ASP? Up to now I've been using Dictionary objects and creating a single dimension array for the values and using the key to id, or using a heavily delimited string and spliting. Gets to be a pain when adding or removing items. I'm sure there must be a better way. This is for a shopping cart kind of thing. Product id and quantity for multiple products passed around in a session.
 
I neglected to add that the problem I've run across with standard MD array is preserving when I don't know the quantity, so I'm looking for an alternative or workaround.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top