<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

         public void BindData()
            {
                string FidTemp = Fid.Length < 1 ? ("") : (" and FirstSort='" + Fid + "'");
                string SidTemp = Sid.Length < 1 ? ("") : (" and SecSort='" + Sid + "'");
                string TidTemp = Tid.Length < 1 ? ("") : (" and [Sort]='" + Tid + "'");
                string idKeyWord =  this.GetRequest("idKeyWord").Trim();
                idKeyWord = idKeyWord.Length>0&&idKeyWord!="請輸入關鍵字"?(" and [CompanyName] like '%"+idKeyWord+"%'"):("");
                string idProvince = HttpUtility.UrlDecode(this.GetRequest("idProvince"));
                idProvince = idProvince.Length > 0&&idProvince!="不限" ? (" and [Province] = '" + idProvince + "'") : ("");
                string idCity = this.GetRequest("idCity");
                idCity = idCity.Length > 0 &&idCity!="不限"? (" and [City] = '" + idCity + "'") : ("");
                string idArea = this.GetRequest("idArea");
                idArea = idArea.Length > 0 &&idArea!="不限"? (" and [Area] ='" + idArea + "'") : ("");
                string idCoMode = this.GetRequest("idCoMode");
                idCoMode = idCoMode.Length > 0 && idCoMode != "0" ? (" and [DealType] like '%" + (idCoMode == "1" ? ("生產型") : (idCoMode == "2" ? ("貿易型") : (idCoMode == "3" ? ("服務型") : (idCoMode == "4" ? ("政府或其他機構") : (""))))) + "%'") : ("");
                string idIsGender = this.GetRequest("idIsGender");
                idIsGender = idIsGender == "true" ? (" and [Genderid]=1") : ("");

                this.PageSize = 20;
                this.Columns = "  [domain],[C_ID],[CompanyName],[Introduce],[DealType],[MainProduct],[Province],[City],[Area],case  [Genderid] when 0 then '/img/mfree.jpg' when 1 then '/img/mvip.jpg' when 2 then '/img/mvip.jpg' end as Genderid,[Scores],[regTime],[regMoney],[PQQ],[PMSN]";
                this.TableName = "V_CompanysList";
                this.Where = string.Format(" 1=1{0}{1}{2}{3}{4}{5}{6}{7}{8}", idKeyWord, idProvince, idCity, idArea, idCoMode, idIsGender, FidTemp, SidTemp, TidTemp);
                this.Order = "Genderid desc,AddTime desc,C_ID desc";
                this.Pid = "C_ID";
                this.ResultCount = this.CurrentPage>25?(""):"500";
                this.Distinct = "distinct";

                this.Pages1.NumCount= Convert.ToInt32(this.Db.GetOne(string.Format("select count(C_ID) from V_CompanysList where {0}", Where)));
                this.Pages1.PageSize = this.PageSize;
                this.Pages1.CurrentPage = this.CurrentPage;

                this.RRpList.DataSource = this.PageData;
                this.RRpList.DataBind();
            }

    posted on 2009-06-22 14:55 sanmao 閱讀(77) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     

    常用鏈接

    留言簿(5)

    隨筆分類

    隨筆檔案

    搜索

    •  

    最新評論

    閱讀排行榜

    評論排行榜

    主站蜘蛛池模板: 亚洲精品**中文毛片| 国产精品深夜福利免费观看| 亚洲乱码中文字幕久久孕妇黑人| 亚洲AV无码AV吞精久久| 在线观看无码AV网站永久免费| 亚洲视频在线免费看| 51视频精品全部免费最新| 久久久久久久亚洲Av无码| 免费A级毛片无码视频| 亚洲av福利无码无一区二区| 久久久免费的精品| 亚洲精品美女视频| 午夜宅男在线永久免费观看网 | 亚洲中文久久精品无码| 中文字幕手机在线免费看电影| 亚洲欧洲无码AV电影在线观看| 丁香花在线视频观看免费| 亚洲va在线va天堂va不卡下载| 6080午夜一级毛片免费看6080夜福利 | 国产亚洲精品无码成人| 久久99精品国产免费观看| 亚洲国产美女精品久久久久| 亚洲成人免费网址| 亚洲乱码卡三乱码新区| 毛片免费观看网址| 一区视频免费观看| 久久精品国产亚洲av麻豆 | 亚洲欧美熟妇综合久久久久 | 57pao国产成视频免费播放| 激情综合亚洲色婷婷五月| 狼友av永久网站免费观看| 一个人看www免费高清字幕| 亚洲Aⅴ无码专区在线观看q| 一个人看的www在线观看免费| 黄页网站在线视频免费| 亚洲AV无码精品色午夜果冻不卡 | 久久精品国产大片免费观看| 亚洲国产美女在线观看| 免费看国产一级特黄aa大片| 国产午夜不卡AV免费| 亚洲一区二区三区写真|