Exemplo n.º 1
0
 private void LoadUser()
 {
     List<CTUserInfo> userList = new List<CTUserInfo>();
     User user = new User();
     userList = user.GetAllUserList();
     ddlUser.DataSource = userList;
     ddlUser.DataTextField = "UserName";
     ddlUser.DataValueField = "UserID";
     ddlUser.DataBind();
 }
Exemplo n.º 2
0
 private void LoadUser()
 {
     User user = new User();
     List<CTUserInfo> list = new List<CTUserInfo>();
     list = user.GetAllUserList();
     DropDownList2.DataSource = list;
     DropDownList2.DataTextField = "UserName";
     DropDownList2.DataValueField = "UserID";
     DropDownList2.DataBind();
 }
Exemplo n.º 3
0
 private void LoadUser()
 {
     List<CTUserInfo> userList = new List<CTUserInfo>();
     PetCare.BLL.User user = new User();
     userList = user.GetAllUserList();
     GridViewUsers.DataSource = userList;
     GridViewUsers.DataKeyNames =new string[]{ "UserID"};
     GridViewUsers.DataBind();
 }