Click here to Skip to main content
15,904,416 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,Iam exporting a database report to excel from my c# code(Winforms). I have a string s="Monthly Report"(it is displayed in excel) and i want to display this string as font BOLD ...I knw this is Simple Question But How to do it? plz help
Posted
Updated 17-Nov-13 23:36pm
v2

1 solution

 
Share this answer
 
Comments
ahmed ali mohd 18-Nov-13 5:54am    
My problem is..I have declared a string s="Monthly Report"..I just want to make it Bold.
Thomas ktg 18-Nov-13 5:59am    
How do you export the report? Show some code. So that it will be easy to answer.
ahmed ali mohd 18-Nov-13 6:13am    
Thanks fr replyng. Actually Forget About the Code Sir.Iam Just asking to Convert a String "Monthly Report" to Bold
For ex:- string s="Monthly Report";
s.font.bold=true;(this statement is nt working for me)
Thomas ktg 18-Nov-13 7:09am    
You mean you want to make a string to be bold?
ahmed ali mohd 18-Nov-13 7:36am    
yes exactly

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