예제 #1
0
 protected void GetDropDownList()
 {
     Locations = NCRClass.NCRController.LookupAllLocations();
     LocationDDL.DataSource     = Locations.Tables["Locations"];
     LocationDDL.DataTextField  = "District";
     LocationDDL.DataValueField = "LocationID";
     LocationDDL.DataBind();
 }
예제 #2
0
        public List <string> RememberUser()
        {
            List <string> user = new List <string>();

            user.Add(FirstNameField.GetAttribute("value"));
            user.Add(LastNameField.GetAttribute("value"));
            user.Add(RoleDDL.GetAttribute("value"));
            user.Add(LocationDDL.GetAttribute("value"));
            user.Add(Photo.GetAttribute("value"));
            user.Add(Login.GetAttribute("value"));
            user.Add(Password.GetAttribute("value"));

            return(user);
        }
예제 #3
0
        public List <string> RememberGroup()
        {
            List <string> group = new List <string>();

            group.Add(NameField.GetAttribute("value"));
            group.Add(LocationDDL.GetAttribute("value"));

            group.Add(DirectionDDL.GetAttribute("value"));
            group.Add(StartDate.GetAttribute("value"));
            group.Add(FinishDate.GetAttribute("value"));
            group.Add(TeachersField.GetAttribute("value"));
            group.Add(ExpertsField.GetAttribute("value"));
            group.Add(StageDDL.GetAttribute("value"));

            return(group);
        }