而從GridView的數據導出到Word文件,表格應在Word中創建, 表可能包含許多細胞, 在每個小區中,我需要存儲一個記錄從gridview的 I have exported the data from gridview to word,
like this
1 rasdf sdf
2 sdf jlkj
3 dfdf dfdf
4 dsaf
任何人都可以指導我如何使用開放XML文字處理在段落上添加預定義樣式?我已經嘗試過論壇上提供的各種解決方案,但沒有爲我工作。這是我想要完成的: // Create a document by supplying the filepath.
WordprocessingDocument wordDocument = WordprocessingDocument.Create("E