绑定了一个DropDownList,其中一个为查询条件,绑定的值为like,显示文字为‘包含’,怎么在调用的时候这个DropDownList.Text却成了like...?我在界面上看到的明明也是‘包含’。高手看看这是怎么回事。。? private void getSechose()
    {
        try
        {
            if (scn.State == ConnectionState.Closed)
            {
                scn.Open();
            }
            DataTable dt = new DataTable();
            dt = acc.GetSereachData("select * from ItItem_sefiled WHERE SeFileTable='ConditionA' and SeFileClass='Condition' and IsSelect=1 Order by SeOrderID");
            Ddcondition.DataSource = dt;
            Ddcondition.DataValueField = "SeFileID";
            Ddcondition.DataTextField = "SeFileName";
            Ddcondition.DataBind();
        }
        catch (Exception ex)
        {
           throw(ex);
        }
        finally
        {
            scn.Close();
        }
    }
 protected void bingdgv()
    {
        try
        {
            if (txtSeValue.Text.Trim().ToString() == "")
            {
                return;
            }
            else
            {
                SqlScmstr = "";
                if (scn.State == ConnectionState.Closed)
                {
                    getscnstr();
                    scn.Open();
                }
                if (Ddcondition.Text.Trim() == "包含")
                {
                    SqlScmstr = "SELECT * FROM ITItem_ComputerInfo WHERE " + DdSeFile.SelectedValue + Ddcondition.SelectedValue + "'%" + txtSeValue.Text.Trim() + "'%";
                }
                else
                { SqlScmstr = "SELECT * FROM ITItem_ComputerInfo WHERE " + DdSeFile.SelectedValue + Ddcondition.SelectedValue + "'" + txtSeValue.Text.Trim() + "'"; }
                DataTable dt = new DataTable();
                dt = acc.GetSereachData(SqlScmstr);
                dtTableHade = dt;
 
                if (dt.Rows.Count > 0)
                {
                    gvPCInfo.AllowPaging = true;
                    gvPCInfo.AllowSorting = true;
                    gvPCInfo.PageSize = 4;
                    gvPCInfo.DataSource = dtTableHade;
                    gvPCInfo.DataBind();                        
                }
                else
                {
                    gvPCInfo.Dispose();                    
                }
            }
        }
        catch (Exception ex)
        {
            throw (ex);
        }
        finally
        {
            if (scn.State == ConnectionState.Open)
                scn.Close();
        } 
    }