本文整理汇总了C#中QueryHelper.GetValue方法的典型用法代码示例。如果您正苦于以下问题:C# QueryHelper.GetValue方法的具体用法?C# QueryHelper.GetValue怎么用?C# QueryHelper.GetValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类QueryHelper
的用法示例。
在下文中一共展示了QueryHelper.GetValue方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: 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();
}
示例2: 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.txtName);
helper.GetValue(this.txtDescription);
helper.GetValue(this.cklGroupType);
helper.GetValue(this.txtModifyTime);
//Pager's Size and Index
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例3: 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.ddlCategory);
helper.GetValue(this.txtTitle);
//Pager's Size and Index
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例4: 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
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.txtEndDate);
helper.GetValue(this.txtBeginDate);
helper.GetValue(this.txtICNumber);
helper.GetValue(this.txtSDNumber);
helper.GetValue(this.txtSONumber);
helper.GetValue(this.txtUser);
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例5: 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();
}
示例6: 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();
}
示例7: 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();
}
示例8: GetReturnUrl
private string GetReturnUrl()
{
QueryHelper help = new QueryHelper(this);
help.GetValue(this.txtItemCode);
help.GetValue(this.txtItemName);
help.GetValue(this.txtItemSpec);
help.GetValue(this.chkItemStatus);
help.Push("ps", this.mpage.PageSize);
help.Push("pi", this.mpage.CurrentPageIndex);
return help.OutputReturnUrl();
}
示例9: 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();
}
示例10: GetReturnUrl
string GetReturnUrl()
{
QueryHelper helper = new QueryHelper(this);
helper.GetValue(this.txtShortName); //传参_方法1
helper.GetValue(this.txtFullName); //传参_方法2
helper.GetValue(this.cklStatus);
helper.Push("ps", this.magicPagerMain.PageSize);
helper.Push("pi", this.magicPagerMain.CurrentPageIndex);
return helper.OutputReturnUrl();
}
示例11: 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();
}
示例12: 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();
}
示例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
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();
}