在excel列名称中应为粗体 [英] in excel column name should be bold
本文介绍了在excel列名称中应为粗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我通过连接两个表将网格视图数据导出到excel.
我希望所有excel中的列名都以粗体显示.
请在这方面帮助我.
在此先感谢.
Hi All,
I am exporting the grid view data to excel by joining two tables.
I want all the column names in excel to be displayed in bold format.
Please help me in this regard.
Thanks in Advance.
推荐答案
希望 ^ ]可能会为您提供帮助.
Hope this[^] might help you.
尝试此链接
http://www.aspdotnet-suresh. com/2011/04/how-to-export-gridview-data-to-excel-or.html [
try this link
http://www.aspdotnet-suresh.com/2011/04/how-to-export-gridview-data-to-excel-or.html[^]
使用此:
dataGridView1.ColumnHeadersDefaultCellStyle.Font.Bold = true;
&保重身体
& take care body
这篇关于在excel列名称中应为粗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文