public DataTable MenuSelect(menu_Prop menuprop) { try { return(SqlHelper.ExecuteDataset(com.con, "usp_menu_select", new object[] { menuprop.UserName }).Tables[0]); } catch (Exception e) { throw e; } }
public DataTable MenuSelect(menu_Prop menuprop) { try { menudal = new menu_dal(); DataTable dt = menudal.MenuSelect(menuprop); return(dt); } catch (Exception e) { ErrMessage = e.Message; return(null); } }