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


C# Wuqi类代码示例

本文整理汇总了C#中Wuqi的典型用法代码示例。如果您正苦于以下问题:C# Wuqi类的具体用法?C# Wuqi怎么用?C# Wuqi使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: BindPager

 public static void BindPager(Wuqi.Webdiyer.AspNetPager pager, int allCount)
 {
     pager.RecordCount = allCount;
     pager.CustomInfoHTML = "&nbsp;&nbsp;记录总数:<font color=\"blue\"><b>" + pager.RecordCount.ToString() + "</b></font>";
     pager.CustomInfoHTML += "&nbsp; 总页数:<font color=\"blue\"><b>" + pager.PageCount.ToString() + "</b></font>";
     pager.CustomInfoHTML += "&nbsp; 当前页:<font color=\"red\"><b>" + pager.CurrentPageIndex.ToString() + "</b></font>";
 }
开发者ID:jimlly,项目名称:NetGit,代码行数:7,代码来源:SendView.aspx.cs

示例2: BindPagerCustomInfoHTML

 /// <summary>
 /// Bind Pager CustomInfoHtml
 /// </summary>
 /// Copyright (c) 
 /// 创 建 人:王好([email protected])
 /// 创建日期:2012年2月1日
 /// 修 改 人:王好
 /// 修改日期:
 /// 版 本:
 /// <param name="aspNetPager"></param>
 public new void BindPagerCustomInfoHTML(Wuqi.Webdiyer.AspNetPager aspNetPager)
 {
     base.BindPagerCustomInfoHTML(aspNetPager);
     //    aspNetPager.CustomInfoHTML += "记录总数:<font color=\"blue\"><b>" + aspNetPager.RecordCount.ToString() + "</b></font>";
     //    aspNetPager.CustomInfoHTML += " 总页数:<font color=\"blue\"><b>" + aspNetPager.PageCount.ToString() + "</b></font>";
     //    aspNetPager.CustomInfoHTML += " 当前页:<font color=\"red\"><b>" + aspNetPager.CurrentPageIndex.ToString() + "</b></font>";
 }
开发者ID:jacky-chan,项目名称:OnlineView,代码行数:17,代码来源:BasePage.cs

示例3: pagerbind

 public static void pagerbind(Wuqi.Webdiyer.AspNetPager AspNetPager1, int allcount, int pagecount)
 {
     AspNetPager1.RecordCount = allcount;
     AspNetPager1.CustomInfoHTML = "记录总数:<font color=\"blue\"><b>" + AspNetPager1.RecordCount.ToString() + "</b></font>";
     AspNetPager1.CustomInfoHTML += " 总页数:<font color=\"blue\"><b>" + AspNetPager1.PageCount.ToString() + "</b></font>";
     AspNetPager1.CustomInfoHTML += " 当前页:<font color=\"red\"><b>" + AspNetPager1.CurrentPageIndex.ToString() + "</b></font>";
 }
开发者ID:uwitec,项目名称:tonsinoa,代码行数:7,代码来源:Global.cs

示例4: GridViewPagerBindbyRowNumber

        //#region Repeater�ؼ���ҳ�ﶨ
        ///// <summary #region GridView�ؼ���ҳ�ﶨ
        /// <summary>
        /// GridView�ؼ���ҳ�ﶨ
        /// </summary>
        /// <param name="anpager">AspNetPager��ҳ�ؼ�</param>
        /// <param name="strQuaryCondition">��ѯWhere����������Where</param>
        /// <param name="strOrderCondition">��Ҫ������ֶ���</param>
        /// <param name="rptControl">GridView�ؼ�</param>
        public void GridViewPagerBindbyRowNumber(Wuqi.Webdiyer.AspNetPager anpager, string strWhere, string strOrderCondition, System.Web.UI.WebControls.GridView grvControl, int startyear, int endyear)
        {
            StringBuilder sbReceiveTable = new StringBuilder();

            DataSet dstTemp = new DataSet();

            #region ����ʱ���ȡҪ��ѯ�Ķ��ű�
            for (int i = startyear; i <= endyear; i++)
            {
                sbReceiveTable.Append("'Sys_ReceiveMessage" + i + "',");
            }
            sbReceiveTable.Remove(sbReceiveTable.Length - 1, 1);
            string strselectTable = "select name from sysobjects where type='u' and name in(" + sbReceiveTable + ")";

            DataSet dsReceiveTable = DbHelperSQL.DQuery(strselectTable);

            StringBuilder sbsql = new StringBuilder();

            sbsql.Append("select RMID,PhoneNumber,MContent,ReceiveDate from (");

            for (int i = 0; i < dsReceiveTable.Tables[0].Rows.Count; i++)
            {
                sbsql.Append("select * from " + dsReceiveTable.Tables[0].Rows[i][0].ToString() + " union");
            }

            sbsql.Remove(sbsql.Length - 6, 6);
            sbsql.Append(") as RM");
            #endregion

            StringBuilder strSql = new StringBuilder();

            strSql.Append("select * from (select row_number() over (order by " + strOrderCondition + ") as rowno,*  from (" + sbsql.ToString() + ") as VT_ReceiveMessage");
            strSql.Append(strWhere);
            strSql.Append(" ) as result Where (rowno Between " + ((anpager.CurrentPageIndex - 1) * anpager.PageSize + 1) + " and " + anpager.CurrentPageIndex * anpager.PageSize + ")");

            StringBuilder strb = new StringBuilder();

            strb.Append("Select Count(*) From (" + sbsql.ToString() + ") as VT_ReceiveMessage");
            strb.Append(strWhere);

            anpager.RecordCount = Convert.ToInt32(DbHelperSQL.GetSingle(strb.ToString()));
            dstTemp = DbHelperSQL.Query(strSql.ToString());

            if (dstTemp.Tables[0].Rows.Count == 0)
            {
                grvControl.DataSource = null;
                grvControl.DataBind();
            }
            else
            {
                grvControl.DataSource = dstTemp.Tables[0];
                grvControl.DataBind();
            }

            //��̬�����û��Զ����ı�����
            anpager.CustomInfoHTML = "����<font color=\"blue\"><b>" + anpager.RecordCount.ToString() + "</b></font>����¼";
            anpager.CustomInfoHTML += " ��ҳ����<font color=\"blue\"><b>" + anpager.PageCount.ToString() + "</b></font>ҳ";
            anpager.CustomInfoHTML += " ��ǰҳ����<font color=\"red\"><b>" + anpager.CurrentPageIndex.ToString() + "</b></font>ҳ";
        }
开发者ID:SaintLoong,项目名称:ChangWu_IndustryPlatform,代码行数:68,代码来源:SYS_ReceiveMessageSQLDAL.cs

示例5: AspNetPager1_PageChanging

 /// <summary>
 /// 分页处理
 /// </summary>
 /// <param name="src"></param>
 /// <param name="e"></param>
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     string FeedBackTypeId = "0";
     if (hfFeedBackTypeId.Value != "")
         FeedBackTypeId = hfFeedBackTypeId.Value;
     bind(Convert.ToInt32(FeedBackTypeId), hfBeginTime.Value, hfEndTime.Value, false);
 }
开发者ID:dalinhuang,项目名称:ume-v3,代码行数:13,代码来源:FeedBackManage.aspx.cs

示例6: AspNetPager1_PageChanging

        /// <summary>
        /// 分页处理
        /// </summary>
        /// <param name="src"></param>
        /// <param name="e"></param>
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            AspNetPager1.CurrentPageIndex = e.NewPageIndex;

            Core.Business.Group group = (Core.Business.Group)ViewState["Group"];

            bind(group, HFCreatorId.Value, "", "", HFMaxMenberNum.Value, HFStartTime.Value, HFEndTime.Value, HFSort.Value, false);
        }
开发者ID:dalinhuang,项目名称:ume-v3,代码行数:13,代码来源:GroupManage.aspx.cs

示例7: AspNetPager1_PageChanging

 /// <summary>
 /// 分页控件事件
 /// </summary>
 /// <param name="src"></param>
 /// <param name="e"></param>
 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     //if (ViewState["sql"] != null && ViewState["sql"].ToString().Length != 0)
     //{
     //    bll.Getsetdates(AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1), AspNetPager1.PageSize, ViewState["sql"].ToString(), GridView1);
     //}
     Bind();
 }
开发者ID:havids,项目名称:laike_vote,代码行数:14,代码来源:SFVoteWorksManagerList.aspx.cs

示例8: AspNetPager1_PageChanging

        /// <summary>
        /// 分页处理
        /// </summary>
        /// <param name="src"></param>
        /// <param name="e"></param>
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            AspNetPager1.CurrentPageIndex = e.NewPageIndex;

            CY.UME.Core.Business.Album album = new CY.UME.Core.Business.Album();
            album.AccountName = HFAccountName.Value;
            album.Name = HFAlbumName.Value;

            Bind(album, HFSort.Value, false);
        }
开发者ID:dalinhuang,项目名称:ume-v3,代码行数:15,代码来源:AlbumManage.aspx.cs

示例9: PagerAddedIntegrals_PageChanging

 protected void PagerAddedIntegrals_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     PagerAddedIntegrals.CurrentPageIndex = e.NewPageIndex;
     AddedIntegralsBind();
     if (lastPageOfAddedIntegrals != e.NewPageIndex.ToString())
     {
         GoToAnchorAddedIntegrals();
     }
     lastPageOfAddedIntegrals = e.NewPageIndex.ToString();
 }
开发者ID:honj51,项目名称:micro-emall,代码行数:10,代码来源:myintegral.aspx.cs

示例10: AspNetPager1_PageChanging

        /// <summary>
        /// 分页处理
        /// </summary>
        /// <param name="src"></param>
        /// <param name="e"></param>
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            AspNetPager1.CurrentPageIndex = e.NewPageIndex;

            // 防止没有查询条件的时候,但又点了查询按钮
            if (hfColIdSearch.Value == "")//学院ID
                hfColIdSearch.Value = "0";

            bind(Convert.ToInt32(hfColIdSearch.Value), hfName.Value, hfDes.Value, false);
        }
开发者ID:dalinhuang,项目名称:ume-v3,代码行数:15,代码来源:MajorManage.aspx.cs

示例11: PageBonusesThisMonth_PageChanging

 protected void PageBonusesThisMonth_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     PageBonusesThisMonth.CurrentPageIndex = e.NewPageIndex;
     BonusesThisMonthBind();
     if (lastPageOfBonusesThisMonth != e.NewPageIndex.ToString())
     {
         GoToAnchorBonusesThisMonth();
     }
     lastPageOfBonusesThisMonth = e.NewPageIndex.ToString();
 }
开发者ID:honj51,项目名称:micro-emall,代码行数:10,代码来源:myintegral.aspx.cs

示例12: Pager

 protected void Pager(GridView dl,Wuqi.Webdiyer.AspNetPager anp,System.Data.DataSet dst)
 {
     PagedDataSource pds = new PagedDataSource();
     pds.DataSource = dst.Tables[0].DefaultView;
     pds.AllowPaging = true;
     anp.RecordCount = dst.Tables[0].DefaultView.Count;
     pds.CurrentPageIndex = anp.CurrentPageIndex - 1;
     pds.PageSize = anp.PageSize;
     dl.DataSource = pds;
     dl.DataBind();
 }
开发者ID:LiuYingyingCSU,项目名称:JobskyOA,代码行数:11,代码来源:DutyRecordExcel.aspx.cs

示例13: AspNetPager1_PageChanging

 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     if (check)
     {
         binddata(e.NewPageIndex, pageSize);
     }
     else
     {
         bindlikedata(e.NewPageIndex, pageSize, cus);
     }
 }
开发者ID:jxb505,项目名称:FbCRM2,代码行数:11,代码来源:conworkList.aspx.cs

示例14: AspNetPager1_PageChanging

 protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
 {
     this.AspNetPager1.CurrentPageIndex = e.NewPageIndex;
     if (flag == 0)
     {
         BindData();
     }
     else
     {
         BindDataByDate(Tbox_Start.Text, Tbox_End.Text);
     }
 }
开发者ID:BGCX261,项目名称:zqu-svn-to-git,代码行数:12,代码来源:PrintConditionByKeYuan.aspx.cs

示例15: AspNetPager1_PageChanging

        /// <summary>
        /// 分页处理
        /// </summary>
        /// <param name="src"></param>
        /// <param name="e"></param>
        protected void AspNetPager1_PageChanging(object src, Wuqi.Webdiyer.PageChangingEventArgs e)
        {
            AspNetPager1.CurrentPageIndex = e.NewPageIndex;
            string uniId = null;

            if (hfuniId.Value == "" || hfuniId.Value == null)
                uniId = "0";
            else
                uniId = hfuniId.Value;

            bind(uniId, hfName.Value, false);
        }
开发者ID:dalinhuang,项目名称:ume-v3,代码行数:17,代码来源:CollegeManage.aspx.cs


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