How to pass selected value from the datagrid to MS word to be printed.
I m using mail merge and ODBC.
Sample document below.
Thank you and appreciate your help
Hi ernestpauld,
Please share your mail merge code.
i dont have a code for the mail merge sir i just use the OBDC to connect mysql database and load the field data in the word document
i just follow this link https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-configuration-dsn-windows-5-2.html
ernestpauld says: load the field data in the word document
load the field data in the word document
How you are loading?
Please share the code.
im using this one called ODBC Datasource
Refer
https://blog.aspose.com/words/mail-merge-in-word-documents-using-csharp-or-vb.net/
https://www.textcontrol.com/blog/2022/05/25/mail-merge-with-ms-word-documents-in-csharp-an-ultimate-guide/
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.