예제 #1
0
 private void BindGridViewListData(OrderTransactions orderTxns)
 {
     GVListData.DataSource = orderTxns.ToList();
     if (_newPageIndex >= 0)
     {
         GVListData.PageIndex = _newPageIndex;
     }
     GVListData.DataSource = orderTxns.ToList();
     GVListData.DataBind();
 }
예제 #2
0
        public void BindData(BindType bindType)
        {
            var queryArgument = new QueryArgument(UserContext.DataBaseInfo)
            {
                filter1   = SR,
                FilterKey = Constants.AuditLog
            };
            var ordView = _reportManager.GetAuditLogData(queryArgument);

            GVListData.DataSource = ordView;
            if (_newPageIndex >= 0)
            {
                GVListData.PageIndex = _newPageIndex;
            }
            GVListData.DataSource = ordView;
            GVListData.DataBind();
            uplView.Update();
        }
예제 #3
0
        public void BindData(BindType bindType)
        {
            var queryArgument = new QueryArgument(UserContext.DataBaseInfo)
            {
                //Key = Region,
                filter1   = Convert.ToDateTime(Constants.DefaultDate) == FromDate ? string.Empty : Dates.FormatDate(FromDate, Constants.Format05),
                filter2   = Convert.ToDateTime(Constants.DefaultDate) == ToDate ? string.Empty : Dates.FormatDate(ToDate, Constants.Format05),
                filter3   = Modality,
                filter4   = Constants.RetriveTempType,
                filter5   = SR,
                FilterKey = Constants.TableOrderDetail
            };
            var ordView = _reportManager.GetOrderDetailViewData(queryArgument);

            GVListData.DataSource = ordView;
            if (_newPageIndex >= 0)
            {
                GVListData.PageIndex = _newPageIndex;
            }
            GVListData.DataSource = ordView;
            GVListData.DataBind();
            uplView.Update();
        }
예제 #4
0
        public void BindData(BindType bindType)
        {
            var queryArgument = new QueryArgument(UserContext.DataBaseInfo)
            {
                Key     = PartType,
                filter1 = SR,
                filter2 = Convert.ToDateTime(Constants.DefaultDate) == FromDate?string.Empty: Dates.FormatDate(FromDate, Constants.Format05),
                filter3 = Convert.ToDateTime(Constants.DefaultDate) == ToDate?string.Empty:Dates.FormatDate(ToDate, Constants.Format05),
                filter4 = Modality,
                //filter5 = SR,
                FilterKey = Constants.BilledPart
            };
            var ordView = _reportManager.GetBilledPartData(queryArgument);

            GVListData.DataSource = ordView;
            if (_newPageIndex >= 0)
            {
                GVListData.PageIndex = _newPageIndex;
            }
            GVListData.DataSource = ordView;
            GVListData.DataBind();
            uplView.Update();
        }