Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27348

VS 2010 [RESOLVED] Reading collection class properties into Word table

$
0
0
Hi Guys,

I'm having trouble converting a collection class into a word table. The problem is, I have a class called "Book" which has to properties "Title", "ISBN" and "Author" - and I want to copy the whole list into a Word Document.

I have tried manipulating .paul.'s code of converting ListView into a Word table, but to no avail.

I've managed to return the book title by reading title, isbn and author into a string with a vbTab inbetween, but it's a menacing experience trying to get this table.

I scanned the net for a way to convert a List(Of Book) to a table but that doesn't work either.

Any help would be more than appreciated.

Thank-you,

Viewing all articles
Browse latest Browse all 27348

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>