public void loadEmployeeGender() { GenderBL business = new GenderBL(); List <Gender> list = business.LoadGender(); ddlGender.DataSource = list; ddlGender.DataTextField = "GenderName"; ddlGender.DataValueField = "ID"; ddlGender.DataBind(); }
public BbsService() { _userBL = new UserBL(); _roleBL = new RoleBL(); _genderBL = new GenderBL(); }