private void FillParentLineList() { string sql = "ZoneId NOT IN ('" + this.ZoneId.ToString() + "')"; string[] orderBy = new string[] { "ZoneCode" }; WorkplaceZoneEx.LoadCombo(ref cboParent, "ZoneCode", true, true, "", sql, orderBy); }
/// <summary> /// Fills the zone list. /// </summary> public void FillZoneList() { WorkplaceZoneEx.LoadCombo(ref cboZone, "ZoneName", true); if (ConfigHelper.CurrentZoneId != Guid.Empty) { cboZone.SelectedValue = ConfigHelper.CurrentZoneId; } }
private void FillZone() { WorkplaceZoneEx.LoadCombo(ref cboZone, "ZoneName", true); }