How I can export from a DataTable to a Content control in C# using Openxml?
问题 So I have this code, but i want to know how possible it is to convert from a result gotten from an SQL DataTable to print on a Microsoft word content control My code looks something like this public bool PrintTableonContentControl(string connectionString, string DbQuery,string filePath, string placeholderText) { try{ DataTable dt = new DataTable(); using(SqlConnection con = new SqlConnection(connectionString)){ con.Open(); using(SqlCommand cmd = new SqlCommand(DbQuery,con)){ using