We don’t allow questions seeking recommenda开发者_开发技巧tions for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this questionDoes anyone knows of a text generator like this one, written in .Net ? Open source would be nice, but it's not really important if it is free or not, as in speech or as in beer.
Basically, what I need is to reproduce a complex html table (a transaction summary) to ship it through email.There is the built in Text Template Transformation Toolkit (T4):
In Visual Studio, a T4 text template is a mixture of text blocks and control logic that can generate a text file. The control logic is written as fragments of program code in Visual C# or Visual Basic. The generated file can be text of any kind, such as a Web page, or a resource file, or program source code in any language.
StringTemplate Template Engine may suit your needs. It is free (beer and speech included). There is a .NET port (check the Downloads section).
精彩评论