Ejemplo n.º 1
0
        public static List <StocktakeDetails> FindAllByNotification(StocktakeNotification notification)
        {
            if (notification == null)
            {
                return(null);
            }

            return(FindAllByNotification(notification.NotificationID));
        }
Ejemplo n.º 2
0
        private void BindNotificationListData()
        {
            Pager pg = gvpNotification.Pager;

            pg.Order.Name             = "DateCreated";
            pg.Order.Direction        = OrderDirection.Desc;
            gvNotification.DataSource = XStocktakeNotification.FindAllByPage(pg, BuildNotificationWhere());
            gvNotification.DataBind();
            gvpNotification.Pager = pg;
        }