ReoGrid
ReoGrid copied to clipboard
When I save workboot to excel file, I get null exception
I load a excel into Reogrid from stream. Because my excel file is embedded resource in my winform application. The following code is my program.
Assembly tAssembly = Assembly.GetExecutingAssembly();
Stream tStream = tAssembly.GetManifestResourceStream(resourcePath);
this.reoGridControl1.Load(tStream, FileFormat.Excel2007);
After loading, everything is OK. Now I want to call Reogrid save to save the workbook to an excel file and I get System.NullReferenceException The program is as following.
reoGridControl1.Save(@"E:\zhonggong\ReoGridTest\TableManager\bin\Debug\tmp\text.xlsx", FileFormat.Excel2007);
Can you tell my how to solve this problem? Thank you.
Please post the exception stack information, thanks.
Similar to #220