SearchCRM.aspx.cs
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:2k
- using System;
- using System.Data;
- using System.Configuration;
- using System.Collections;
- using System.Web;
- using System.Web.Security;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- using System.Web.UI.WebControls.WebParts;
- using System.Web.UI.HtmlControls;
- public partial class SearchCRM : System.Web.UI.Page
- {
- protected void Page_Load(object sender, EventArgs e)
- {
- LoginLogic.MatchLoad("../", "SearchCRM");
- }
- protected void Button1_Click(object sender, EventArgs e)
- {
- string SqlStr = "";
- SqlStr = Server.UrlEncode(SqlStr);
-
- SqlStr += " XM like '" + RP.SDot(KeyValue_XM.Text) + "%' and";
- SqlStr += " NC like '" + RP.SDot(KeyValue_NC.Text) + "%' and";
- SqlStr += " XB like '" + RP.SDot(KeyValue_XB.Text) + "%' and";
- SqlStr += " GDDH like '" + RP.SDot(KeyValue_GDDH.Text) + "%' and";
- SqlStr += " SJHM like '" + RP.SDot(KeyValue_SJHM.Text) + "%' and";
- SqlStr += " Email like '" + RP.SDot(KeyValue_Email.Text) + "%' and";
- SqlStr += " QQ like '" + RP.SDot(KeyValue_QQ.Text) + "%' and";
- SqlStr += " MSN like '" + RP.SDot(KeyValue_MSN.Text) + "%' and";
- SqlStr += " BZ like '" + RP.SDot(KeyValue_BZ.Text) + "%' and";
- SqlStr += " GS like '" + RP.SDot(KeyValue_GS.Text) + "%' and";
- SqlStr += " DZ like '" + RP.SDot(KeyValue_DZ.Text) + "%' and";
- SqlStr += " WZ like '" + RP.SDot(KeyValue_WZ.Text) + "%' and";
- SqlStr += " FL like '" + RP.SDot(KeyValue_FL.Text) + "%' and";
- SqlStr += " XXDZ like '" + RP.SDot(KeyValue_XXDZ.Text) + "%' and";
- SqlStr += " WYID like '" + RP.SDot(KeyValue_WYID.Text) + "%' and";
- SqlStr += " ZHJHM like '" + RP.SDot(KeyValue_ZHJHM.Text) + "%' ";
- Response.Redirect("CRMManager.aspx?TiaoJian=" + SqlStr);
- }
- }