Ejemplo n.º 1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        News   condition = new News();
        string title     = GetstringKey("name");

        if (title != "")
        {
            condition.Title = "%" + title + "%";
            condition.AddAttach("Title", "like");
        }
        m_tableManageList = TableOperate <News> .SelectByPage(condition, PageSize, PageIndex, ref Count);

        DataBind();
    }