private void CreateddlRole() { Johnny.CMS.BLL.Access.Role role = new Johnny.CMS.BLL.Access.Role(); ddlRoles.DataSource = role.GetList(); ddlRoles.DataTextField = "RoleName"; ddlRoles.DataValueField = "RoleId"; ddlRoles.DataBind(); }
public override void getData() { Johnny.CMS.BLL.Access.Role bll = new Johnny.CMS.BLL.Access.Role(); myManageGridView.DataSource = bll.GetList(); myManageGridView.DataBind(); }