本文整理汇总了C#中QueryHelper.OutputReturnUrl方法的典型用法代码示例。如果您正苦于以下问题:C# QueryHelper.OutputReturnUrl方法的具体用法?C# QueryHelper.OutputReturnUrl怎么用?C# QueryHelper.OutputReturnUrl使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QueryHelper
的用法示例。
在下文中一共展示了QueryHelper.OutputReturnUrl方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetReturnUrl
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.Push("df", this.txtDateFrom.Text);
helper.Push("dt", this.txtDateTo.Text);
return helper.OutputReturnUrl();
}
示例2: GetReturnUrl
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.Push("pd", this.drpPeriod.SelectedValue);
helper.Push("df", this.txtDateFrom.Text.Trim());
helper.Push("dt", this.txtDateTo.Text.Trim());
return helper.OutputReturnUrl();
}
示例3: GetReturnUrl
string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.GetValue(this.txtLogis); //传参_方法1
helper.GetValue(this.txtMemberName); //传参_方法2
helper.GetValue(this.txtMemberNumber);
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例4: GetReturnUrl
/// <summary>
/// Collect current query conditions and pager's size and current index.
/// as return url
/// </summary>
/// <returns></returns>
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.GetValue(this.ddlOpObjectType);
helper.GetValue(this.ddlOpType);
helper.GetValue(this.txtOpTime);
helper.GetValue(this.txtOperatorName);
helper.GetValue(this.ddlOperatorType);
//Pager's Size and Index
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例5: GetReturnUrl
/// <summary>
/// Collect current query conditions and pager's size and current index.
/// as return url
/// </summary>
/// <returns></returns>
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.GetValue(this.ddlMsgTypeId);
helper.GetValue(this.txtTitle);
helper.GetValue(this.chkAccessibility);
helper.GetValue(this.ddlStatus);
//Pager's Size and Index
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例6: GetReturnUrl
private string GetReturnUrl()
{
//����ǰ��ѯ�����յ�url�У������µ�ҳ�棬���ص�ʱ���ٻ�ԭ��Щ����ֵ
//helper�������÷�
//1. helper.GetValue(�ؼ���); �Ѿ���װ�õĿؼ�����ʹ�����ַ�������GetReturnUrl()��RestoreLastQuery()�з���1
//2. helper.Push(������, ����ֵ); û�з�װ�Ŀؼ�����һЩ����Ķ���������ʹ�����ַ�������GetReturnUrl()��RestoreLastQuery()�з���2
QueryHelper helper = new QueryHelper(this);
//helper.GetValue(this.txtUserName); ����_����1
helper.Push("un", this.txtUserName.Text.Trim()); //����_����2
helper.GetValue(this.txtFullName);
helper.GetValue(this.cklStatus);
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例7: GetReturnUrl
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.Push("sdnum", this.txtSDNumber.Text.Trim());
helper.Push("sonum", this.txtSONumber.Text.Trim());
helper.Push("snnum", this.txtShippingNumber.Text.Trim());
helper.Push("invoice", this.txtInvoice.Text.Trim());
helper.Push("lg", this.drpLogis.SelectedValue);
helper.Push("df", this.txtDateFrom.Text.Trim());
helper.Push("dt", this.txtDateTo.Text.Trim());
if (this.chkDistributing.Checked) helper.Push("distribute", "1");
if (this.chkChecked.Checked) helper.Push("check", "1");
if (this.chkPackaged.Checked) helper.Push("pack", "1");
if (this.chkInterchanged.Checked) helper.Push("inter", "1");
if (this.chkReturn.Checked) helper.Push("rtn", "1");
if (this.chkPartReturn.Checked) helper.Push("prtn", "1");
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
helper.Push("ps", this.magicPagerMain.PageSize);
return helper.OutputReturnUrl();
}
示例8: GetReturnUrl
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
string strStatus = "";
for (int i = 0; i < this.cklStatus.Items.Count; i++)
{
if (this.cklStatus.Items[i].Selected)
{
if (strStatus.Trim().Length == 0)
strStatus = this.cklStatus.Items[i].Value;
else
strStatus += "," + this.cklStatus.Items[i].Value;
}
}
helper.Push("Status", strStatus); //����_����2
helper.GetValue(this.txtBeginDate);
helper.GetValue(this.txtEndDate);
helper.GetValue(this.txtInvCheckNumbere);
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例9: GetReturnUrl
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.Push("pd", this.drpPeriod.SelectedValue);
helper.Push("df", this.txtDateFrom.Text.Trim());
helper.Push("dt", this.txtDateTo.Text.Trim());
System.Text.StringBuilder url = new System.Text.StringBuilder();
url.Append("SaleAmtDetail.aspx?mode=fix&df=").Append(this.txtDateFrom.Text.Trim())
.Append("&dt=").Append(this.txtDateTo.Text.Trim())
.Append("&pd=").Append(this.drpPeriod.SelectedValue)
.Append("&return=").Append(WebUtil.escape(helper.OutputReturnUrl()));
return url.ToString();
}
示例10: GetReturnUrl
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.GetValue(this.txtBeginDate);
helper.GetValue(this.txtEndDate);
helper.GetValue(this.txtAdjustmentNumber);
helper.GetValue(this.ddlLocation);
if (this.chkNew.Checked) helper.Push("new", "1");
else helper.Push("new", "0");
if (this.chkRelease.Checked) helper.Push("release", "1");
else helper.Push("release", "0");
if (this.chkClose.Checked) helper.Push("close", "1");
else helper.Push("close", "0");
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例11: GetReturnUrl
/// <summary>
/// Collect current query conditions and pager's size and current index.
/// as return url
/// </summary>
/// <returns></returns>
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.GetValue(this.txtItemCode);
helper.GetValue(this.txtGroupCode);
helper.GetValue(this.txtName);
helper.GetValue(this.rdlItemType);
//Pager's Size and Index
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例12: GetReturnUrl
private string GetReturnUrl(DateTime start, DateTime end)
{
QueryHelper helper = new QueryHelper(this);
helper.Push("pd", this.drpPeriod.SelectedValue);
helper.Push("df", this.txtDateFrom.Text.Trim());
helper.Push("dt", this.txtDateTo.Text.Trim());
helper.Push("rt", this.drpReturnType.SelectedValue);
System.Text.StringBuilder url = new System.Text.StringBuilder();
string rtType ="";
if(this.drpReturnType.SelectedValue=="1") rtType="RC4";
else if(this.drpReturnType.SelectedValue=="2") rtType="RC2";
url.Append("SaleReturnQuery.aspx?mode=fix&flag=1&df=").Append(start.ToString("yyyy-MM-dd"))
.Append("&dt=").Append(end.ToString("yyyy-MM-dd"))
.Append("&rttype=").Append(rtType)
.Append("&return=").Append(WebUtil.escape(helper.OutputReturnUrl()));
return url.ToString();
}
示例13: GetReturnUrl
string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.GetValue(this.txtOrderNum); //传参_方法1
helper.GetValue(this.drpVendor); //传参_方法2
helper.GetValue(this.cklStatus);
helper.GetValue(this.txtStartDate);
helper.GetValue(this.txtEndDate);
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例14: GetReturnUrl
/// <summary>
/// Collect current query conditions and pager's size and current index.
/// as return url
/// </summary>
/// <returns></returns>
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.GetValue(this.txtTitle);
helper.GetValue(this.cklLayout);
helper.GetValue(this.rdlType);
helper.GetValue(this.cklStatus);
helper.GetValue(this.txtCreateTime);
//Pager's Size and Index
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例15: GetReturnUrl
private string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.Push("vt", this.drpViewType.SelectedValue);
helper.Push("area", this.drpArea.SelectedValue);
helper.Push("sec", this.txtSection.Text.Trim());
helper.Push("sku", this.txtSKU.Text.Trim());
helper.Push("itmc", this.txtItemCode.Text.Trim());
helper.Push("itmn", this.txtName.Text.Trim());
helper.Push("color", this.txtColor.Text.Trim());
helper.Push("size", this.txtSize.Text.Trim());
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
helper.Push("ordNum", this.OrderNumber);
helper.Push("return", WebUtil.Param("return"));
if (log.IsDebugEnabled)
log.DebugFormat("url 4 returnning to sto chk line: {0}", helper.OutputReturnUrl());
return helper.OutputReturnUrl();
}