C# Programming
11-07-2009, 08:51 AM
Hello. I'm having a little problem transferring all the items in the listbox to a string variable. All the items in the listbox are also string type so i don't have any problems about data types. I tried to use array of string type variable but when i transfer them using a for..loop statement it gets a run-time error that the index was out of bounds. How will I resolve that? How can i store all the items into a variable without selecting them? I used the listbox as a control for outputs.
this is the code:
for (int a = 0; a <span class="code-keyword">
this is the code:
for (int a = 0; a <span class="code-keyword">