Beispiel #1
0
        public void loadEmployeeGender()
        {
            GenderBL business = new GenderBL();

            List <Gender> list = business.LoadGender();

            ddlGender.DataSource     = list;
            ddlGender.DataTextField  = "GenderName";
            ddlGender.DataValueField = "ID";

            ddlGender.DataBind();
        }
Beispiel #2
0
 public BbsService()
 {
     _userBL   = new UserBL();
     _roleBL   = new RoleBL();
     _genderBL = new GenderBL();
 }