/// <summary> /// Gets the frozen value. /// </summary> /// <param name="eventId">The event id.</param> /// <returns>DataSet contains Frozen Details</returns> public static F29640FrozenValueData GetFrozenValue(int eventId) { F29640FrozenValueData frozenDetails = new F29640FrozenValueData(); Hashtable ht = new Hashtable(); ht.Add("@EventID", eventId); Utility.LoadDataSet(frozenDetails.GetFrozenValues, "f29640_pcget_FrozenValues", ht); return(frozenDetails); }
/// <summary> /// Loads the frozen value details. /// </summary> private void LoadFrozenValueDetails() { if (this.keyId > 0) { // DB call for f29640_pcget_FrozenValues(EventId) this.frozenDataTable = this.form29640Controller.WorkItem.GetFrozenValue(this.keyId); } // Set retrived values on appropriate controls this.SetControlValues(); }