【发布时间】:2015-04-17 06:11:19
【问题描述】:
我的应用程序中有一个 UltraGrid,它显示主波段和其他子波段。当我使用 UltraGrid ExcelExporter 时,Exporter 会导出带有所有子带的整个网格。我想实现导出器只导出主波段而不导出所有子波段。到目前为止,我还没有找到实现这一目标的属性。到目前为止有什么建议吗?
我的导出代码如下所示(仅供参考):
this.saveFileDialog.ShowDialog();
if (string.IsNullOrEmpty(this.saveFileDialog.FileName))
return;
SplashScreenManager.ShowForm(typeof(FrmWait));
try
{
this.ultraGridExcelExporter.Export(this.gridFrames,
this.saveFileDialog.FileName);
MessageBox.Show("Der Excel Export wurd erfolgreich durchgeführt.",
"Export erfolgreich",
MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
catch (Exception)
{
throw;
}
finally
{
SplashScreenManager.CloseForm();
}
【问题讨论】:
标签: c# .net winforms infragistics ultrawingrid