Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 3-Jun-11 21:44pm
v2

Hope this[^] might help you.
 
Share this answer
 
Use this:
dataGridView1.ColumnHeadersDefaultCellStyle.Font.Bold = true;


& take care body
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900