how to set the color to excel sheet row in c#
I am reading the excel sheet as well as expor开发者_如何学Cting the read excel. I want to set the Fill (backg color) color to header row of exported excel sheet.I am using C# +asp.net.
Got the Answer: oRange.get_Range("A1","X1").Interior.Color = System.Drawing.ColorTranslator.ToWin32(Color.Orange);
精彩评论