You are not logged in.
This forum has been archived and no longer accepts new user registrations. Please report your questions, problems, and feedback to the issue page of ReoGrid on GitHub. Thank you for your cooperation.
Pages: 1
导出的时候,如果当前grid是多个sheet的话,会报错。如果为一个sheet则不会。
private void button2_Click(object sender, EventArgs e)
{
var workbook = reoGridControl1;
reoGridControl1.Save(@"D:\reogrid\导出\sheet.xlsx", unvell.ReoGrid.IO.FileFormat.Excel2007);
}
异常:
System.NullReferenceException”类型的未经处理的异常在 unvell.ReoGrid.dll 中发生
其他信息: 未将对象引用设置到对象的实例。
请问不能导出多sheet的grid为excel吗?
Offline
已经解决了。导入的excel内部有问题
Offline
Pages: 1