/// <summary>
        /// 添加数据块
        /// </summary>
        /// <param name="sheet">要添加数据的sheet</param>
        /// <param name="rowNumber">行号</param>
        /// <param name="columnNumber">列号</param>
        /// <param name="dt">数据</param>
        public void addData(Excel.Worksheet sheet, int rowNumber, int columnNumber, DataTable dt)
        {            if (dt == null)
                return;
            
           // sheet.Cells.Clear();//-------------------不注释 也会爆COMException  错误
            foreach (Excel.Shape temp in sheet.Shapes)
            {
                temp.Delete();
            }
        
            int columns = dt.Columns.Count;
            int rows = dt.Rows.Count;
            //添加每一行的数据
            for (int i = 0; i < rows; i++)
            {
                for (int j = 0; j < columns; j++)
                {
                    sheet.Cells[rowNumber + i, j + columnNumber] = dt.Rows[i][j].ToString(); //这句也会爆COMException 错误
                }
            }        }
未处理的异常:  System.Runtime.InteropServices.COMException (0x80010105): 服务器
出现意外情况。 (异常来自 HRESULT:0x80010105 (RPC_E_SERVERFAULT))
   在 System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFla
gs flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
   在 Microsoft.Office.Interop.Excel.Range.set__Default(Object RowIndex, Object
ColumnIndex, Object )
   在 ExcelSum.ExcelHelp.addData(Worksheet sheet, Int32 rowNumber, Int32 columnN
umber, DataTable dt) 位置 C:\Users\shiyl\Desktop\ExcelSum\ExcelSum\ExcelHelp.cs:
行号 539
   在 ExcelSum.ExcelHelp.addSheet(String sheetName, DataTable dt, Application& e
xcelApp, Boolean isVisible) 位置 C:\Users\shiyl\Desktop\ExcelSum\ExcelSum\ExcelH
elp.cs:行号 475
   在 ExcelSum.DoCreate.start() 位置 C:\Users\shiyl\Desktop\ExcelSum\ExcelSum\Do
Create.cs:行号 99
   在 ExcelSum.DoMain.CreateExcel(String MB_path, String TXL_path, String HY_pat
h) 位置 C:\Users\shiyl\Desktop\ExcelSum\ExcelSum\DoMain.cs:行号 54
   在 ExcelSum.Program.Main(String[] args) 位置 C:\Users\shiyl\Desktop\ExcelSum\
ExcelSum\Program.cs:行号 22
这是什么错误?
怎么解决,貌似 用了 sheet对象 就会出错