Saving an ArrayList to a file

Joined
Oct 28, 2005
Messages
3
Reaction score
0
Hi,

I have created an ArrayList called AL to hold the values of 5 textboxes and 2 comboboxes. These all represent one purchase object. The code is as follows:

Dim AL as ArrayList = Nothing
AL =
New ArrayList
AL.Add(objPurchase.RefNum & objPurchase.Type & objPurchase.Weight & objPurchase.Quantity & _
objPurchase.CalcMeth & objPurchase.BuyPrice & objPurchase.SalePrice)

I need to save the contents of the ArrayList to a file. How would I go about this? Hope someone can help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top