protected void btnFind_Click(object sender, EventArgs e)
    {
        condObj = new WEC_C_CHANNELlIST();

        if(txtID.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.ID, Convert.ToDecimal(txtID.Value));

        if(txtAID.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.AID, Convert.ToDecimal(txtAID.Value));

        if(txtSTATUS.Value !="" )
            condObj.STATUS = Convert.ToInt32(txtSTATUS.Value);

        if(txtADDTIME.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.ADDTIME, Convert.ToDateTime(txtADDTIME.Value));

        if(txtNAME.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.NAME, Convert.ToString(txtNAME.Value));

        if(txtURL.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.URL, Convert.ToString(txtURL.Value));

        if(txtREMARK.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.REMARK, Convert.ToString(txtREMARK.Value));

        if(txtCATEGORY_ID.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.CATEGORY_ID, Convert.ToInt32(txtCATEGORY_ID.Value));

        if(txtQRCODE.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.QRCODE, Convert.ToString(txtQRCODE.Value));

        if(txtNOTE.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.NOTE, Convert.ToString(txtNOTE.Value));

        if(txtADDRESS.Value !="" )
            condObj.Like(WEC_C_CHANNELlIST.Attribute.ADDRESS, Convert.ToString(txtADDRESS.Value));

        if(txtTYPE.Value !="" )
            condObj.TYPE = Convert.ToInt32(txtTYPE.Value);

        hidCondition.Value = condObj.ToJson(20);

        BindList(condObj, 1);
    }
    protected void btnFind_Click(object sender, EventArgs e)
    {
        condObj = new WEC_C_CHANNELlIST();


        if (txtID.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.ID, Convert.ToDecimal(txtID.Value));
        }


        if (txtAID.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.AID, Convert.ToDecimal(txtAID.Value));
        }


        if (txtSTATUS.Value != "")
        {
            condObj.STATUS = Convert.ToInt32(txtSTATUS.Value);
        }


        if (txtADDTIME.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.ADDTIME, Convert.ToDateTime(txtADDTIME.Value));
        }


        if (txtNAME.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.NAME, Convert.ToString(txtNAME.Value));
        }


        if (txtURL.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.URL, Convert.ToString(txtURL.Value));
        }


        if (txtREMARK.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.REMARK, Convert.ToString(txtREMARK.Value));
        }


        if (txtCATEGORY_ID.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.CATEGORY_ID, Convert.ToInt32(txtCATEGORY_ID.Value));
        }


        if (txtQRCODE.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.QRCODE, Convert.ToString(txtQRCODE.Value));
        }


        if (txtNOTE.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.NOTE, Convert.ToString(txtNOTE.Value));
        }


        if (txtADDRESS.Value != "")
        {
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.ADDRESS, Convert.ToString(txtADDRESS.Value));
        }


        if (txtTYPE.Value != "")
        {
            condObj.TYPE = Convert.ToInt32(txtTYPE.Value);
        }

        try
        {
            hidCondition.Value = condObj.ToJson(20);

            listObj = BLLTable <WEC_C_CHANNELlIST> .SelectByPage(valObj, condObj, aspPager.PageSize, 1, ref recount);

            repList.DataSource = listObj;
            repList.DataBind();
        }
        catch (Exception ex)
        {
            litWarn.Text = ex.Message;
        }
    }
    protected void btnFind_Click(object sender, EventArgs e)
    {
        condObj = new WEC_C_CHANNELlIST();

        if(txtID.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.ID, Convert.ToDecimal(txtID.Value));

        if(txtAID.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.AID, Convert.ToDecimal(txtAID.Value));

        if(txtSTATUS.Value !="" )
            condObj.STATUS = Convert.ToInt32(txtSTATUS.Value);

        if(txtADDTIME.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.ADDTIME, Convert.ToDateTime(txtADDTIME.Value));

        if(txtNAME.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.NAME, Convert.ToString(txtNAME.Value));

        if(txtURL.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.URL, Convert.ToString(txtURL.Value));

        if(txtREMARK.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.REMARK, Convert.ToString(txtREMARK.Value));

        if(txtCATEGORY_ID.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.CATEGORY_ID, Convert.ToInt32(txtCATEGORY_ID.Value));

        if(txtQRCODE.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.QRCODE, Convert.ToString(txtQRCODE.Value));

        if(txtNOTE.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.NOTE, Convert.ToString(txtNOTE.Value));

        if(txtADDRESS.Value !="" )
            condObj.Like_OR(WEC_C_CHANNELlIST.Attribute.ADDRESS, Convert.ToString(txtADDRESS.Value));

        if(txtTYPE.Value !="" )
            condObj.TYPE = Convert.ToInt32(txtTYPE.Value);

        try
        {
            hidCondition.Value = condObj.ToJson(20);

            listObj = BLLTable<WEC_C_CHANNELlIST>.SelectByPage(valObj, condObj, aspPager.PageSize, 1, ref recount);
            repList.DataSource = listObj;
            repList.DataBind();
        }
        catch (Exception ex)
        {
             litWarn.Text = ex.Message;
        }
    }
    protected void btnFind_Click(object sender, EventArgs e)
    {
        condObj = new WEC_C_CHANNELlIST();



        if (txtID.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.ID, Convert.ToDecimal(txtID.Value));
        }


        if (txtAID.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.AID, Convert.ToDecimal(txtAID.Value));
        }


        if (txtSTATUS.Value != "")
        {
            condObj.STATUS = Convert.ToInt32(txtSTATUS.Value);
        }


        if (txtADDTIME.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.ADDTIME, Convert.ToDateTime(txtADDTIME.Value));
        }


        if (txtNAME.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.NAME, Convert.ToString(txtNAME.Value));
        }


        if (txtURL.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.URL, Convert.ToString(txtURL.Value));
        }


        if (txtREMARK.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.REMARK, Convert.ToString(txtREMARK.Value));
        }


        if (txtCATEGORY_ID.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.CATEGORY_ID, Convert.ToInt32(txtCATEGORY_ID.Value));
        }


        if (txtQRCODE.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.QRCODE, Convert.ToString(txtQRCODE.Value));
        }


        if (txtNOTE.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.NOTE, Convert.ToString(txtNOTE.Value));
        }


        if (txtADDRESS.Value != "")
        {
            condObj.Like(WEC_C_CHANNELlIST.Attribute.ADDRESS, Convert.ToString(txtADDRESS.Value));
        }


        if (txtTYPE.Value != "")
        {
            condObj.TYPE = Convert.ToInt32(txtTYPE.Value);
        }

        hidCondition.Value = condObj.ToJson(20);

        BindList(condObj, 1);
    }