![]() Var x = new string(companyName.ToLower().Where(c_ => char.IsLetterOrDigit(c_)).ToArray()) Īfter generating the template datasource and creating the report template saved in DOCX format using the steps above, follow these steps to process the template and generate the document (using C#): Public static GetEmail(string firstName, string lastName, string companyName) ![]() Total = orderDetails.Sum(od_ => od_.Total), Finally, prep the integrated data source for the template: Total = Convert.ToDecimal(it) * Convert.ToDecimal(it), Var orderDetails = dtOrdersDetails.Select() After adding the static text and structural elements, we must add tags using the Mustache syntax "",Įmail = GetEmail(it.ToString(), it.ToString(), it.ToString())
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |