Пример #1
0
    private void ddlPrjBind(PrjInfoModel PIM)
    {
        string text = PrjInfoAction.GetSqlWhere(PIM);

        text = " Podepom like '%" + this.Session["yhdm"].ToString().Trim() + "%' and " + text;
        DataTable dateList = PrjInfoAction.GetDateList(text);

        if (dateList.Rows.Count > 0)
        {
            this.ddlPrj.DataSource     = dateList;
            this.ddlPrj.DataTextField  = "PrjName";
            this.ddlPrj.DataValueField = "PrjCode";
            this.ddlPrj.DataBind();
        }
    }
Пример #2
0
 protected void btnSearch_Click(object sender, EventArgs e)
 {
     this.FramUrl = this.hdnUrl.Value;
     this.strURL  = PrjInfoAction.GetSqlWhere(this.GetValue()) + "&jw=" + this.jw;
 }