|
-
May 18th, 2012, 01:51 PM
#16
Thread Starter
Member
Re: ListView
 Originally Posted by .paul.
the problem is that you're saving your listview contents as excel CSV + the delimiter in a csv file is a comma.
therefore excel sees that 1 field as several. use a semi colon ; instead of a comma:
vb Code:
Dim lvi As New ListViewItem(xml.SelectSingleNode("Title/LocalTitle").InnerText)
lvi.SubItems.Add(String.Join("; ", Array.ConvertAll(xml.SelectNodes("Title/Genres/Genre").Cast(Of XmlNode).ToArray, Function(n) n.InnerText)))
Thanks. Works. Much appreciated.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|