/// <summary> /// ListOwnerStatusType /// </summary> /// <returns>Typed dataset</returns> public static F96000OwnerManagementData F96000_ListOwnerStatusType() { F96000OwnerManagementData ownerManagementData = new F96000OwnerManagementData(); Hashtable ht = new Hashtable(); Utility.LoadDataSet(ownerManagementData.F96000ListOwnerStatusType, "f96000_pclst_OwnerStatusType", ht); return(ownerManagementData); }
/// <summary> /// F96000_s the country combo details. /// </summary> /// <returns></returns> public static F96000OwnerManagementData F96000_CountryComboDetails() { F96000OwnerManagementData CountryCombo = new F96000OwnerManagementData(); Hashtable ht = new Hashtable(); string[] tableName = new string[] { CountryCombo.f96000_pclst_Country.TableName, CountryCombo.LoadDefaultCountry.TableName }; Utility.LoadDataSet(CountryCombo, "f96000_pclst_Country", ht, tableName); return(CountryCombo); }
/// <summary> /// Gets the F96000_GetOwnerDetails /// It Returns two table[OwnerDetails,OwnerList] /// </summary> /// <param name="ownerId">ownerID</param> /// <returns>Type Dataset Returns two table[OwnerDetails,OwnerList]</returns> public static F96000OwnerManagementData F96000_GetOwnerManagementDetails(int ownerId) { F96000OwnerManagementData ownerManagementData = new F96000OwnerManagementData(); Hashtable ht = new Hashtable(); ht.Add("@OwnerID", ownerId); string[] tableName = new string[] { ownerManagementData.F96000GetOwnerDetails.TableName, ownerManagementData.F96000GetStatusList.TableName }; Utility.LoadDataSet(ownerManagementData, "f96000_pcget_OwnerDetails", ht, tableName); return(ownerManagementData); }
/// <summary> /// Loads the country combo box. /// </summary> private void LoadCountryComboBox() { try { this.CountryDetailsData = this.form9105Control.WorkItem.F96000_CountryComboDetails(); if (this.CountryDetailsData.f96000_pclst_Country.Rows.Count > 0) { this.CountryComboBox.DataSource = this.CountryDetailsData.f96000_pclst_Country; this.CountryComboBox.ValueMember = this.CountryDetailsData.f96000_pclst_Country.CountryIDColumn.ColumnName; this.CountryComboBox.DisplayMember = this.CountryDetailsData.f96000_pclst_Country.CountryNameColumn.ColumnName; this.CountryComboBox.AutoCompleteMode = AutoCompleteMode.Suggest; this.CountryComboBox.AutoCompleteSource = AutoCompleteSource.ListItems; } } catch (Exception ex) { ExceptionManager.ManageException(ex, ExceptionManager.ActionType.CloseCurrentForm, this.ParentForm); } }