SpirePDF / FreeSpire.PDF

Free Spire.PDF
27 stars 7 forks source link

Data source from DTO #1

Open jimbrew opened 4 years ago

jimbrew commented 4 years ago

is it possible to use a dto to populate the pdf table rather than directly querying the database?

I have looked at the example here and thought I could just change line 72 to table.DataSource = List<MySampeDto>;

But this has not solved the issues