--------------Stack Trace---------------------
at ٱ.♕.♅(XmlTextReader ൬)\r\n at ٱ.♕.♜(XmlTextReader ก)\r\n at ٱ.䱜.()\r\n at ٱ.䱜.࣫()\r\n at ٱ.䱜.䱝(Workbook ෙ, Stream ԁ, LoadDataOption )\r\n at Aspose.Cells.Workbook.Ӿ(Stream ԁ, LoadOptions Ԁ)\r\n at Aspose.Cells.Workbook.Ӿ(String ӿ, LoadOptions Ԁ)\r\n at Aspose.Cells.Workbook…ctor(String file, LoadOptions loadOptions)\r\n at TestAsposeCells2010.Program.LoadSheets() in C:\Users\Tim\documents\visual studio 2010\Projects\TestProjects\TestAsposeCells2010\TestAsposeCells2010\Program.cs:line 35\r\n at TestAsposeCells2010.Program.Main(String[] args) in C:\Users\Tim\documents\visual studio 2010\Projects\TestProjects\TestAsposeCells2010\TestAsposeCells2010\Program.cs:line 16
--------------Example Code---------------------
static void Main(string[] args)
{
try
{
SetLicense();
LoadSheets();
}
catch (Exception ex)
{
Console.Out.WriteLine(ex.GetBaseException().Message);
Console.Out.WriteLine(ex.StackTrace);
}
Console.In.ReadLine();
}
private static void SetLicense()
{
License license;
license = new License();
license.SetLicense("Aspose.Cells.lic");
}
private static void LoadSheets()
{
Workbook workBook = new Workbook("TestWorkbook.xlsx", GetLoadOptions());
}
private static LoadOptions GetLoadOptions()
{
LoadOptions retVal = new LoadOptions(LoadFormat.Xlsx);
retVal.ConvertNumericData = true;
retVal.LoadDataOnly = true;
return retVal;
}