|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Formatting text in stringbuilderHi 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 A string can not be bold. Only a font can be bold. A string is an array of
characters. It has no font. -- Show quoteHTH, Kevin Spencer Microsoft MVP Professional Chicken Salad Alchemist What You Seek Is What You Get. "Judy" <judyaj***@yahoo.com> wrote in message news:1152870680.165532.209350@p79g2000cwp.googlegroups.com... > 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 > |
|||||||||||||||||||||||