Esempio n. 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        Mailbox condition = new Mailbox();
        string  title     = GetstringKey("msg");

        if (title != "")
        {
            condition.Msg = "%" + title + "%";
            condition.AddAttach("Msg", "like");
        }
        condition.ReceiveID = AdminMethod.AdminID;
        Mailbox value = new Mailbox();

        list = TableOperate <Mailbox> .SelectByPage(value, condition, "order by  States asc", PageSize, PageIndex, ref Count);

        DataBind();
        msg.Value = title;
    }