Comments (2)
The builtin DataSet processor does not try to do that as tables are often unnamed.
What you can do is in your code before calling Process method, convert such data sets into Dictionary objects which should give you the behavior you want. eg:
var tables = new Dictionary<string, DataTable>();
foreach (DataTable t in ds.Tables)
tables[t.TableName] = t;
templateDocument.Process(tables);
from templaterexamples.
Oh, so simple. Pretty cool, thank you 🤗
from templaterexamples.
Related Issues (20)
- Word template that uses the same data in a chart and across multiple pages HOT 3
- Inconsistent dynamic resizing HOT 2
- Default tag not repeating with template using :page HOT 10
- Process method taking too long for large jsons. HOT 10
- How License works? HOT 2
- Can I add color to table column content in a PowerPoint presentation? HOT 6
- replacing image in word document HOT 3
- Include HTML in templater HOT 3
- Numbering in section HOT 2
- Date issue in charts HOT 3
- "Trial" text even after purchasing the license HOT 5
- running TemplaterServer in docker container HOT 2
- CORS HOT 4
- Horizontal resize not working HOT 1
- Adding / Subtracting Tags HOT 1
- Line break (\n) issue in pptx templates HOT 8
- Collection per page rendering issue HOT 4
- Leave Tag Unprocessed if Value is Null HOT 4
- Duplicate section HOT 6
- Excel column name Column1 , Column2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from templaterexamples.