vb.net - How do I put an arraylist in a Listbox -


So I need help on an assignment and I'm trying to solve it for more than a week but I Need help on putting an array list inside the listback

That is, the GUI should look at the end, all the information must be saved in the array list; I should be able to add a new customer; Click on a customer entry to edit it.

  list 1. Items.Clicker List 1. AddRange (al1.ToArray)  

Or,

  list 1. Items in the form of an object for every obj in al1 List1.Items.Add (obj)  

Or,

  list 1 . For the items.Clear I as an integer = 0 to al1.count-1 List1.Items.Add (al1 (i)) Next  

You override your object ToString in Arctic Will happen. You have to make the listbox font a fixed font so that you can do the courier.
I would suggest using a generic.list (class client), although it is not in the assignment, you will be stuck in the typecasting objects in the array list.
It still leaves the extension of one ton to solve that assignment, though. Best wishes


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -