コード例 #1
0
 //导入
 private void Buttom_import_click(object sender, EventArgs e)
 {
     OrderService.Import(fileName);
 }
コード例 #2
0
 //导出
 private void Button_export_click(object sender, EventArgs e)
 {
     OrderService.Export(OrderService.Myorder, fileName);
     orderBindingSource.ResetBindings(false);
 }