Пример #1
0
    protected void Button7_Click(object sender, EventArgs e)
    {
        UserDao userDao = new UserDao();
        NameValueCollection name = new NameValueCollection();
        name.Add("Age","ASC");
        name.Add("Id", "DESC");

        Hashtable ht = new Hashtable();
        ht.Add("Age>",12);
        IList<User> list = userDao.SelectList(ht, name);
        Response.Write(list.Count);
    }