将数据填充到listbox(5)

5、操作类代理

using System;
using System.Collections.Generic;
using System.Text;
using Factory;
using Model;
using ServerDAL;

namespace BLL
{
    public class UsersBLL
    {
        public static UserDAL u = Factory.DtatAccess.CreateDAL("UserDAL") as UserDAL;
        public IList<Users> All(string name)
        {
           return  u.All(name);
        }
    }
}

你可能感兴趣的:(listbox)