我使用此代码,但我的导出文件为 0 字节
saveFileDialog1.ShowDialog();
if (saveFileDialog1.FileName != "")
{
System.IO.FileStream st = new System.IO.FileStream(saveFileDialog1.FileName, System.IO.FileMode.Create);
this.gridEXExporter1.ExportMode = Janus.Windows.GridEX.ExportMode.AllRows;
gridEXExporter1.GridEX = gridEX1;
gridEXExporter1.Export(st);
st.Close();
System.Diagnostics.Process.Start(saveFileDialog1.FileName);
}