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!
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!