private void BindUserList()
        {
            BLL.Base_User blluser = new BLL.Base_User();
            DataTable     dt      = blluser.GetAllList().Tables[0];

            chkUserList.Items.Clear();
            foreach (DataRow r in dt.Rows)
            {
                chkUserList.Items.Add(new ListItem(
                                          r["UserName"].ToString(),
                                          r["UserId"].ToString()));
            }
        }
Beispiel #2
0
 private void Bind()
 {
     this.dlAdmin.DataSource = user.GetAllList();
     dlAdmin.DataBind();
 }