/// <summary> /// F1404_s the list schedule search. /// </summary> /// <param name="ScheduleConditionXML">The schedule condition XML.</param> /// <returns>Dataset</returns> public static F1404ScheduleSelectionData F1404_ListScheduleSearch(string ScheduleConditionXML) { F1404ScheduleSelectionData scheduleSearchEngineDetails = new F1404ScheduleSelectionData(); Hashtable ht = new Hashtable(); ht.Add("@ScheduleConditionXML", ScheduleConditionXML); Utility.LoadDataSet(scheduleSearchEngineDetails.GetScheduleSelection, "f1404_pclst_Schedule", ht); return(scheduleSearchEngineDetails); }
/// <summary> /// F1403_s the get Schedule tracking roll year. /// </summary> /// <param name="eventID">The event ID.</param> /// <returns></returns> public static F1404ScheduleSelectionData F1404_GetScheduleTrackingRollYear(int eventID) { F1404ScheduleSelectionData SchedulesearchDataSet = new F1404ScheduleSelectionData(); Hashtable ht = new Hashtable(); ht.Add("@EventID", eventID); Utility.LoadDataSet(SchedulesearchDataSet.ScheduleRollYearDataTable, "f29555_pcget_ScheduleSaleTrakingRollYear", ht); return(SchedulesearchDataSet); }
/// <summary> /// F1403_s the type of the get schedule. /// </summary> /// <param name="scheduleId">The schedule id.</param> /// <returns></returns> public static F1404ScheduleSelectionData F1404_GetScheduleType(int?scheduleId) { F1404ScheduleSelectionData scheduleSearchDataSet = new F1404ScheduleSelectionData(); Hashtable ht = new Hashtable(); ht.Add("@ScheduleID", scheduleId); Utility.LoadDataSet(scheduleSearchDataSet.ScheduleRollYearDataTable, "f1404_pclst_ScheduleType", ht); return(scheduleSearchDataSet); }
private void F1406_Load(object sender, EventArgs e) { this.LoadComboBox(); this.CustomizeGrid(); this.FormLoad(); this.ParcelSearchDataGridView.DataSource = null; this.ParcelSearchDataGridView.Enabled = false; this.ParcelSearchDataGridView.Rows[0].Selected = false; this.DisableButtons(); this.scheduleSelectionData = this.form1406Control.WorkItem.F1404_GetScheduleType(null); if (this.scheduleSelectionData != null) { if (this.scheduleSelectionData.ScheduleRollYearDataTable.Rows.Count > 0) { this.RollYearTextBox.Text = this.scheduleSelectionData.ScheduleRollYearDataTable.Rows[0][0].ToString(); } } }