Home All Groups Group Topic Archive Search About

Reading XML into Listview Control

Author
5 Nov 2007 9:52 PM
Alij
Hi,

I have a dataset ds that I populated using ds.readXML(...).

The problem I am having is to populate the a listview control with the data
from this file. How do I go about doing this? I intent to use details view
to allow me multiple columns as the XML file is in the following format:

<contacts>
<entry>
    <lastname>abc</lastname>
    <firstname>xyz</lastname>
<entry>
<entry>
......
</entry>
</contacts>

Thank you,
Alij

Author
5 Nov 2007 10:10 PM
Husam Al-A''araj
this may help

http://www.codeproject.com/cs/miscctrl/ListViewApp.asp


Cheers,
Husam Al-a'araj
www.aaraj.net

Show quote
"Alij" wrote:

> Hi,
>
> I have a dataset ds that I populated using ds.readXML(...).
>
> The problem I am having is to populate the a listview control with the data
> from this file. How do I go about doing this? I intent to use details view
> to allow me multiple columns as the XML file is in the following format:
>
> <contacts>
> <entry>
>     <lastname>abc</lastname>
>     <firstname>xyz</lastname>
> <entry>
> <entry>
> ......
> </entry>
> </contacts>
>
> Thank you,
> Alij
>
>
>

AddThis Social Bookmark Button