Hi,
In silverlight when loading the stream of test.xls file from isolated storage "Buffer cannot be null" error comes here
using (IsolatedStorageFile isolatedStorageFile = IsolatedStorageFile.GetUserStoreForApplication())
{
using (IsolatedStorageFileStream isolatesFileStream = new IsolatedStorageFileStream("test.xls", FileMode.Create, isolatedStorageFile))
{
loads data to excel here in test.xls file which is located in isolated storage
}
}
using (IsolatedStorageFile isolatedStorageFile = IsolatedStorageFile.GetUserStoreForApplication())
{
using (IsolatedStorageFileStream isolatesFileStream = new IsolatedStorageFileStream("test.xls", FileMode.Open, isolatedStorageFile))
{
Spire.Xls.Workbook book = new Spire.Xls.Workbook();
book.LoadFromStream(isolatesFileStream); //Buffer cannot be null error comes here
book.SaveToFile("test.xlsx", Spire.Xls.ExcelVersion.Version2007);
}
}