Anyone able to help load a list box using a text file
I load the text file into a single string then split at every new line and put into an array of strings then us the array of strings as the data source for the list box. The problem with this is that when I do that i cannot use the clear command to clear the list box because the data source has been used. also i cannot figure the formatting of splitting the string because it comes out formatted like the text file aka every single line has the new info when i need it to have like every 5th line in the same line of a list box
Ryan61343 0 Newbie Poster
Recommended Answers
Jump to PostRyan, do you need to add the data from id, first name to grade in one line, then load the next data line, or do you need it one item to the next? in other words ---
id first name last name degree grade
OR
id
first name
last name
…
All 3 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.