public Int32 importCSVtoDB(DataSet ds, string TableName) { _admin = new PuzzleEventAdminService.PuzzleEventAdminServiceClient(); try { int rs = _admin.importCSVtoDB(ds, TableName); _admin.Close(); return(rs); } catch (Exception ex) { _admin.CloseCatch(ex, "importCSVtoDB导入失败"); return(-1); } }