/// <summary> /// F81004_s the get selection catalog details. /// </summary> /// <param name="categoryId">The category id.</param> /// <returns>selection catalog data table</returns> public static F81004SelectionData.GetSelectionCatalogDetailsDataTable F81004_GetSelectionCatalogDetails(int categoryId) { F81004SelectionData selectionData = new F81004SelectionData(); Hashtable ht = new Hashtable(); ht.Add("@CategoryID", categoryId); Utility.LoadDataSet(selectionData.GetSelectionCatalogDetails, "f81004_pcget_SelectionCatalog", ht); return(selectionData.GetSelectionCatalogDetails); }
/// <summary> /// F81004_s the get selection details. /// </summary> /// <param name="eventId">The event id.</param> /// <param name="form">The form.</param> /// <returns>selection dataset</returns> public static F81004SelectionData F81004_GetSelectionDetails(int eventId, int form) { F81004SelectionData selectionData = new F81004SelectionData(); Hashtable ht = new Hashtable(); ht.Add("@EventID", eventId); ht.Add("@Form", form); string[] tableName = new string[] { selectionData.ListCategoryHeaderDetails.TableName, selectionData.GetSelectionDetails.TableName }; Utility.LoadDataSet(selectionData, "f81004_pcget_Selection", ht, tableName); return(selectionData); }