private void barExplorYear_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { PJ_gdscrk crk = gridView1.GetFocusedRow() as PJ_gdscrk; if (crk != null) { ExportGDSCRKDetial etdjh = new ExportGDSCRKDetial(); etdjh.ExportOne(crk); } else { MsgBox.ShowTipMessageBox("请先选中要导出的数据!"); } }
private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (barGDS.EditValue != null) { ExportGDSCRKDetial etdjh = new ExportGDSCRKDetial(); etdjh.ExportGDSRKDExcel(barGDS.EditValue.ToString(), exportsql); } }
private void btView_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (barGDS.EditValue != null) { ExportGDSCRKDetial etdjh = new ExportGDSCRKDetial(); etdjh.ExportAll(barGDS.EditValue.ToString()); } }