sliverlight 汇出excel格式

来源:互联网 发布:学会c语言能干什么 编辑:程序博客网 时间:2024/03/28 20:31
 public static void FomulaCell(List<SharedStringItem> sharedStringItemList, Cell cell, CellValues dataType, object value)
        {
            cell.CellValue = null;
            cell.CellFormula =
                    new CellFormula()
                    {
                    Text = value == null ? "" : value.ToString()
                    };
        }
原创粉丝点击