Mangesh barmate

Mangesh barmate

  • NA
  • 118
  • 136.3k

How to bold and give backcolor to excel sheet data in C#?

Apr 19 2013 12:10 AM

Hi,

I am generating  excel sheet from c#.net. I did everything except one thing.I have a row headers like AccountNumber,AccountHolderName,AccountHolderAddress,AccountHolderBranch.

I want to find them runtime using c# code and if those headers are available on that excel then i need to make them bold.

Also find some headers and make them background color and bold.

Is anyone did this, then please share with me as google does not having exact solution as such?

Thanks!