예제 #1
0
 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("请先选中要导出的数据!");
     }
 }
예제 #2
0
 private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (barGDS.EditValue != null)
     {
         ExportGDSCRKDetial etdjh = new ExportGDSCRKDetial();
         etdjh.ExportGDSRKDExcel(barGDS.EditValue.ToString(), exportsql);
     }
 }
예제 #3
0
 private void btView_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     if (barGDS.EditValue != null)
     {
         ExportGDSCRKDetial etdjh = new ExportGDSCRKDetial();
         etdjh.ExportAll(barGDS.EditValue.ToString());
     }
 }