/// <summary> /// 获取假期类型数据列表 /// </summary> /// <returns></returns> public void GetLeaveTypeList() { strWhere = " Id=" + model_leave.LeaveTypeID + ""; DataSet ds = bll_type.GetList(strWhere); leaveTypeName = ds.Tables[0].Rows[0]["LeaveName"].ToString(); }
/// <summary> /// 获取假期类型数据列表 /// </summary> /// <returns></returns> public DataSet GetLeaveTypeList() { DataSet ds = bll_type.GetList(strWhere); if (ds.Tables[0].Rows.Count > 0) { return(ds); } else { return(null); } }
/// <summary> /// 获取数据 /// </summary> /// <returns></returns> public DataSet GetLeaveTypeList() { BLL.LeaveTypesBLL bll = new BLL.LeaveTypesBLL(); DataSet ds = bll.GetList(strWhere); if (ds.Tables[0].Rows.Count > 0) { return(ds); } else { return(null); } }