I get the following error when trying top load the attached file (OK, how do I upload the xls file???)
System.IndexOutOfRangeException was unhandled by user code
Message="Index was outside the bounds of the array."
Source="C1.C1Excel.2"
StackTrace:
at C1.C1Excel.ah.e()
at C1.C1Excel.XLSheet.e()
at C1.C1Excel.XLSheet.j(Stream A_0)
at C1.C1Excel.C1XLBook.t(Stream A_0, Boolean A_1)
at C1.C1Excel.C1XLBook.z(at A_0, Boolean A_1)
at C1.C1Excel.C1XLBook.r(String A_0, Boolean A_1)
at C1.C1Excel.C1XLBook.Load(String fileName, FileFormat format, Boolean fillSheets)
at C1.C1Excel.C1XLBook.Load(String fileName)
at TTC.Alpha.Util.ExcelProvider.GetBook()
at TTC.Alpha.Util.ExcelProvider.get_WorksheetNames()
at TTC.Alpha.UI.LineListImportPresenter.SetExcelFilename(String selectedFilename) in C:...nter.cs:line 236
at TTC.Alpha.UI.LineListImportPresenter.SelectFile() in C:...er.cs:line 225
at TTC.Alpha.UI.LineListImportForm.openFileButton_Click(Object sender, EventArgs e) in C:...rm.cs:line 287
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)