Thread: C# Question
View Single Post
Old 03-23-2009, 10:54 AM   #10 (permalink)
jaeusm
 
Software Developer

Join Date: Mar 2006

Location: Columbus, OH

Posts: 569

jaeusm is on a distinguished road

Default Re: C# Question

Quote:
In my third post the code listed took each row as one item and placed it in the list box, however not all the columns in the test box lined up properly in the list box. How would I go about lining up data in a list box.
I was specifically referring to your 5th post, which called the AddRange() method with an array of strings. In that case, each item in the array would be a separate list item.

Quote:
How would I go about lining up data in a list box.
Typically, you wouldn't because that's not the purpose of a ListBox. If you want columns, use a ListView.

Quote:
I am new to programming......I am learning C# on the run so I am not familiar with all of the language tools. Please let me know if there is a better way.
The better way is for you to take baby steps and start with the basics. Get a good book and start reading.
jaeusm is offline