
This is a small code sample to demonstrate how simply you can create an array and use it as the DataSource for a ListBox control. More than that though, I'd like you to pay close attention to the small Class called ListData that serves as a Data Class. I saw a Class similar to this one used in an example on MSDN, and, because I can never find anything twice on MSDN, thought that I'd better document it here on ShowUsYourCode.
|