Groups | Blog | Home
all groups > dotnet framework > july 2006 >

dotnet framework : Formatting text in stringbuilder


Judy
7/14/2006 2:51:20 AM
Hi all,

I'm writing the result, returned by an sql query, to stringbuilder. But
first i want to format the text. I want to make the column heading
bold. Because I'm passing the stringbuilder to Excel using response
object and while passing, i can't set anything, right? Please can
anyone help me with this?

Thanks and regards,
Judy
Kevin Spencer
7/14/2006 6:13:16 AM
A string can not be bold. Only a font can be bold. A string is an array of
characters. It has no font.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist

What You Seek Is What You Get.


[quoted text, click to view]

AddThis Social Bookmark Button