protected void GetDropDownList() { Locations = NCRClass.NCRController.LookupAllLocations(); LocationDDL.DataSource = Locations.Tables["Locations"]; LocationDDL.DataTextField = "District"; LocationDDL.DataValueField = "LocationID"; LocationDDL.DataBind(); }
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); }
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); }