当前位置: 首页>>代码示例>>C#>>正文


C# QueryHelper.Pop方法代码示例

本文整理汇总了C#中QueryHelper.Pop方法的典型用法代码示例。如果您正苦于以下问题:C# QueryHelper.Pop方法的具体用法?C# QueryHelper.Pop怎么用?C# QueryHelper.Pop使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在QueryHelper的用法示例。


在下文中一共展示了QueryHelper.Pop方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         this.txtOrderNumber.Text = helper.Pop("ordnum");
         this.txtDateFrom.Text = helper.Pop("df");
         this.txtDateTo.Text = helper.Pop("dt");
         if (helper.Pop("app") == "1") this.chkApproved.Checked = true;
         else this.chkApproved.Checked = false;
         if (helper.Pop("unapp") == "1") this.chkUnapproved.Checked = true;
         else this.chkUnapproved.Checked = false;
     }
     this.QueryAndBindData(session, Cast.Int(helper.Pop("pi"), 1), Cast.Int(helper.Pop("ps"), 19), true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:15,代码来源:ProductInApprove.aspx.cs

示例2: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         this.txtSDNumber.Text = helper.Pop("sdnum");
         this.txtSONumber.Text = helper.Pop("sonum");
         this.txtShippingNumber.Text = helper.Pop("snnum");
         this.txtInvoice.Text = helper.Pop("invoice");
         this.drpLogis.SelectedValue = helper.Pop("lg");
         this.txtDateFrom.Text = helper.Pop("df");
         this.txtDateTo.Text = helper.Pop("dt");
         if (helper.Pop("distribute") == "1") this.chkDistributing.Checked = true;
         else this.chkDistributing.Checked = false;
         if (helper.Pop("check") == "1") this.chkChecked.Checked = true;
         else this.chkChecked.Checked = false;
         if (helper.Pop("pack") == "1") this.chkPackaged.Checked = true;
         else this.chkPackaged.Checked = false;
         if (helper.Pop("inter") == "1") this.chkInterchanged.Checked = true;
         else this.chkInterchanged.Checked = false;
         if (helper.Pop("rtn") == "1") this.chkReturn.Checked = true;
         else this.chkReturn.Checked = false;
         if (helper.Pop("prtn") == "1") this.chkPartReturn.Checked = true;
         else this.chkPartReturn.Checked = false;
     }
     this.QueryAndBindData(session, Cast.Int(helper.Pop("pi"), 1), Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize), true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:27,代码来源:DeliveryQuery.aspx.cs

示例3: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         this.txtOrderNumber.Text = helper.Pop("ordnum");
         this.txtDateFrom.Text = helper.Pop("df");
         this.txtDateTo.Text = helper.Pop("dt");
         if (helper.Pop("new") == "1") this.chkNew.Checked = true;
         else this.chkNew.Checked = false;
         if (helper.Pop("release") == "1") this.chkRelease.Checked = true;
         else this.chkRelease.Checked = false;
         if (helper.Pop("open") == "1") this.chkOpen.Checked = true;
         else this.chkOpen.Checked = false;
         if (helper.Pop("close") == "1") this.chkClose.Checked = true;
         else this.chkClose.Checked = false;
     }
     this.QueryAndBindData(session, Cast.Int(helper.Pop("pi"), 1), Cast.Int(helper.Pop("ps"), 19), true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:19,代码来源:ProductInManage.aspx.cs

示例4: RestoreLastQuery

    private void RestoreLastQuery(ISession session)
    {
        QueryHelper helper = new QueryHelper(this);
        if (helper.HasQueryParameter())
        {
            helper.SetValue(this.txtBeginDate);
            helper.SetValue(this.txtEndDate);
            helper.SetValue(this.txtInvCheckNumbere);

            string strStatus = helper.Pop("Status");
            for (int i = 0; i < this.cklStatus.Items.Count; i++)
                this.cklStatus.Items[i].Selected = false;
            if (strStatus.Trim().Length > 0)
            {
                string[] lstStatus = strStatus.Split(',');
                for (int i = 0; i < lstStatus.Length; i++)
                {
                    ListItem Item = this.cklStatus.Items.FindByValue(lstStatus[i]);
                    Item.Selected = true;
                }
            }
        }
        int pageSize = Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize);
        int pageIndex = Cast.Int(helper.Pop("pi"), 1);
        this.QueryAndBindData(session, pageIndex, pageSize, true);
    }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:26,代码来源:InventoryCheckManage.aspx.cs

示例5: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         this.drpVendor.SelectedValue = helper.Pop("ven");
         this.txtRcvNumber.Text = helper.Pop("onum");
         this.txtDateFrom.Text = helper.Pop("df");
         this.txtDateTo.Text = helper.Pop("dt");
         this.txtPONumber.Text = helper.Pop("po");
     }
     this.QueryAndBindData(session, Cast.Int(helper.Pop("pi"), 1), Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize), true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:13,代码来源:PurchaseRCVQuery.aspx.cs

示例6: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         this.txtDateFrom.Text = helper.Pop("df");
         this.txtDateTo.Text = helper.Pop("dt");
         this.drpPeriod.SelectedValue = helper.Pop("pd");
     }
     this.QueryAndBindData(session);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:11,代码来源:SaleAmtSum.aspx.cs

示例7: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
         this.txtDateFrom.Text = helper.Pop("df");
     this.QueryAndBindData(session, Cast.Int(helper.Pop("pi"), 1), Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize), true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:7,代码来源:SaleByItemCode.aspx.cs

示例8: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     int pageSize = 20;
     int pageIndex = 1;
     //����Ǵ�����ҳ�淵�ظ�ҳ�棬�ָ�����ֵ
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         //helper.SetValue(this.txtUserName); //����_����1
         this.txtUserName.Text = helper.Pop("un"); //����_����2
         helper.SetValue(this.txtFullName);
         helper.SetValue(this.cklStatus);
         pageSize = Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize);
         pageIndex = Cast.Int(helper.Pop("pi"), 1);
     }
     QueryAndBindData(session, pageIndex, pageSize, true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:17,代码来源:UserManage.aspx.cs

示例9: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         this.drpVendor.SelectedValue = helper.Pop("ven");
         this.txtRcvNumber.Text = helper.Pop("onum");
         this.txtDateFrom.Text = helper.Pop("df");
         this.txtDateTo.Text = helper.Pop("dt");
         this.txtPONumber.Text = helper.Pop("po");
         if (helper.Pop("new") == "1") this.chkNew.Checked = true;
         else this.chkNew.Checked = false;
         if (helper.Pop("release") == "1") this.chkRelease.Checked = true;
         else this.chkRelease.Checked = false;
         if (helper.Pop("open") == "1") this.chkOpen.Checked = true;
         else this.chkOpen.Checked = false;
         if (helper.Pop("close") == "1") this.chkClose.Checked = true;
         else this.chkClose.Checked = false;
     }
     this.QueryAndBindData(session, Cast.Int(helper.Pop("pi"), 1), Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize), true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:21,代码来源:PurchaseRCVManage.aspx.cs

示例10: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         this.drpLogis.SelectedValue = helper.Pop("lg");
         this.drpReturnType.SelectedValue = helper.Pop("rttype");
         this.txtRTNumber.Text = helper.Pop("rt");
         this.txtSNNumber.Text = helper.Pop("sn");
         this.txtSONumber.Text = helper.Pop("so");
         this.txtDateFrom.Text = helper.Pop("df");
         this.txtDateTo.Text = helper.Pop("dt");
     }
     this.QueryAndBindData(session, Cast.Int(helper.Pop("pi"), 1), Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize), true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:15,代码来源:SaleReturnQuery.aspx.cs

示例11: RestoreLastQuery

 private void RestoreLastQuery(ISession session, INVCheckHead head)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         this.drpViewType.SelectedValue = helper.Pop("vt");
         this.drpArea.SelectedValue = helper.Pop("area");
         this.txtSection.Text= helper.Pop("sec");
         this.txtSKU.Text = helper.Pop("sku");
         this.txtItemCode.Text = helper.Pop("itmc");
         this.txtName.Text = helper.Pop("itmn");
         this.txtColor.Text = helper.Pop("color");
         this.txtSize.Text = helper.Pop("size");
     }
     int pageSize = Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize);
     int pageIndex = Cast.Int(helper.Pop("pi"), 1);
     this.QueryAndBindData(session, head, pageSize, pageIndex, true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:18,代码来源:InventoryCheckDetail.aspx.cs

示例12: RestoreLastQuery

 private void RestoreLastQuery(ISession session)
 {
     //����Ǵ�����ҳ�淵�ظ�ҳ�棬�ָ�����ֵ
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         helper.SetValue(this.txtBeginDate);
         helper.SetValue(this.txtEndDate);
         helper.SetValue(this.txtAdjustmentNumber);
         helper.SetValue(this.ddlLocation);
         if (helper.Pop("new") == "1") this.chkNew.Checked = true; else this.chkNew.Checked = false;
         if (helper.Pop("release") == "1") this.chkRelease.Checked = true; else this.chkRelease.Checked = false;
         if (helper.Pop("close") == "1") this.chkClose.Checked = true; else this.chkClose.Checked = false;
     }
     int pageSize = Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize);
     int pageIndex = Cast.Int(helper.Pop("pi"), 1);
     QueryAndBindData(session, pageIndex, pageSize, true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:18,代码来源:StockAdjustmentManage.aspx.cs

示例13: RestoreLastQuery

 void RestoreLastQuery(ISession session)
 {
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         helper.SetValue(this.txtOrderNum);
         helper.SetValue(this.drpVendor);
         helper.SetValue(this.cklStatus);
         helper.SetValue(this.txtStartDate);
         helper.SetValue(this.txtEndDate);
     }
     int pageSize = Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize);
     int pageIndex = Cast.Int(helper.Pop("pi"), 1);
     QueryAndBindData(session, pageIndex, pageSize, true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:15,代码来源:POManager.aspx.cs

示例14: RestoreLastQuery

 void RestoreLastQuery(ISession session)
 {
     int pageSize = 20;
     int pageIndex = 1;
     QueryHelper helper = new QueryHelper(this);
     if (helper.HasQueryParameter())
     {
         helper.SetValue(this.txtLogis);
         helper.SetValue(this.txtMemberName);
         helper.SetValue(this.txtMemberNumber);
         pageSize = Cast.Int(helper.Pop("ps"), this.magicPagerMain.PageSize);
         pageIndex = Cast.Int(helper.Pop("pi"), 1);
     }
     QueryAndBindData(session, pageIndex, pageSize, true);
 }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:15,代码来源:RestrictLogis2MemberManager.aspx.cs

示例15: LoadInfo

    private void LoadInfo(ISession session)
    {
        //分页
        int pageIndex = 1;
        int pageSize = this.mpage.PageSize;

        QueryHelper help = new QueryHelper(this);
        if (help.HasQueryParameter())
        {
            help.SetValue(this.txtItemCode);
            help.SetValue(this.txtItemName);
            help.SetValue(this.txtItemSpec);
            help.SetValue(this.chkItemStatus);
            pageIndex = Cast.Int(help.Pop("pi"), this.mpage.CurrentPageIndex);
            pageSize = Cast.Int(help.Pop("ps"), this.mpage.PageSize);
        }
        QueryAndBindDate(session, pageIndex, pageSize, true);
    }
开发者ID:XtremeKevinChow,项目名称:rdroad,代码行数:18,代码来源:ASSItemManage.aspx.cs


注:本文中的QueryHelper.Pop方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。