Example #1
0
 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;
     }
 }
Example #2
0
 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);
     }
 }