【问题标题】:how to set the color to excel sheet row in c#如何在c#中将颜色设置为excel表格行
【发布时间】:2010-05-25 06:54:50
【问题描述】:

我正在阅读 excel 表以及导出读取的 excel。我想将填充(背景颜色)颜色设置为导出的 excel 表的标题行。我正在使用 C# +asp.net。

【问题讨论】:

    标签: excel header


    【解决方案1】:

    得到答案:oRange.get_Range("A1","X1").Interior.Color = System.Drawing.ColorTranslator.ToWin32(Color.Orange);

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-11-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-28
      • 1970-01-01
      相关资源
      最近更新 更多