示例#1
0
 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();
 }
示例#2
0
 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();
 }
示例#3
0
 public override void getData()
 {
     Johnny.CMS.BLL.Access.Role bll = new Johnny.CMS.BLL.Access.Role();
     myManageGridView.DataSource = bll.GetList();
     myManageGridView.DataBind();
 }
示例#4
0
 public override void getData()
 {
     Johnny.CMS.BLL.Access.Role bll = new Johnny.CMS.BLL.Access.Role();
     myManageGridView.DataSource = bll.GetList();
     myManageGridView.DataBind();
 }