XML to Listbox

T

Trevor

Please can someone help me.
I have a small project that I want to do but I am having problems
trying to figure out how to do this.
I have created a small application that take numbers that I give it and
stores it in an XML file but also has a page number and line number as
2 seperate comboboxes.
I take the page and the line and put that together to create the parent
node which will look like this:

page: A
Line:1

<A1>
<Line1>first line of information</Line1>
<Line2>second line of information</Line2>
</A1>

I then want to be able to be able to read this xml and put it into a
listbox but I want to be able to have the listbox like below:

Page(as one coumn) Line(as another column) Line1
Line2 Line3

I did have a project before where I was able to split the listbox into
all of these multiple columns but I cannot seem to find it right now.
So any help will be appreciated.

Also if possible I want to be able to search the listbox so if there is
6 lines of information defined I would like to search through all the
entries to see which entries have more than 3 of the same entries.

Thanking you in advance
 
T

Trevor

Thank you very much for the advise on the Listview

If I put it onto the details view I can get a sort of grid view with
column header which is perfect.

However could you possibley help with the code to do the searching
through the xml
both for input into the listview and to later search against the
entries?
I will sit with it a bit to see if I can figure it out myself but any
help would appreciated.

Trevor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top