protected void Page_Load(object sender, EventArgs e) { UserNameLabel.Text = Request.QueryString["UserName"]; string UserId = Request.QueryString["UserId"]; DalRoles roles = new DalRoles(); roles.GetRolesTable(""); //BrandDropDown.Text = myDataReader["Name"].ToString(); // BrandDropDown.DataSource = myDataReader; // BrandDropDown.DataValueField = "ID"; //RoleCheckBoxList.DataSource = roles.RolesTab; //RoleCheckBoxList.DataTextField = "Name"; //RoleCheckBoxList.DataValueField = "Id"; //RoleCheckBoxList.DataBind(); }