コード例 #1
0
 static public void LoadUserList()
 {
   UserList = new DropDownItemList();
   DaUser daUser = new DaUser(DbConnection);
   DnUser list = daUser.Fill("Id>1", "UserID", 0, true);
   UserList = new DropDownItemList(list.Count);
   UserList.Add(1, string.Empty, string.Empty);
   foreach (DdUser dd in list)
     UserList.Add(dd.Id, dd.UserID, dd.UserID);
 }