JungleMonkey
Programmer
Hi,
I am new to C#. I have a form that has three buttons and a tab control which has three different pages. On each of the three pages, I have a listbox. I would like to populate the listbox on the first page with an array of numbers, however I am having difficulty. In the onclick event I tried writing the following line:
tabControl.Page(0).lstBox.DataSource = anNumbers;
Please provide an example for me on how to populate my listbox contained in a tabcontrol residing on the first page.
Thank you
I am new to C#. I have a form that has three buttons and a tab control which has three different pages. On each of the three pages, I have a listbox. I would like to populate the listbox on the first page with an array of numbers, however I am having difficulty. In the onclick event I tried writing the following line:
tabControl.Page(0).lstBox.DataSource = anNumbers;
Please provide an example for me on how to populate my listbox contained in a tabcontrol residing on the first page.
Thank you