private void GetGridSearchData() { // this.GridSearchDataSet.f1406_pclst_CentrallyAssessedGridTable.Clear(); this.centralSearchXML = this.GetSearchXml(); this.GridSearchDataSet = this.form1406Control.WorkItem.F1406_CentralAssessedGridDetails(this.centralSearchXML); this.ParcelSearchDataGridView.AutoGenerateColumns = false; this.ParcelSearchDataGridView.DataSource = this.GridSearchDataSet.f1406_pclst_CentrallyAssessedGridTable.DefaultView; this.RecordCountLabel.Text = this.ParcelSearchDataGridView.OriginalRowCount + SharedFunctions.GetResourceString("RecordsCount"); if (this.ParcelSearchDataGridView.OriginalRowCount > 0) { this.ParcelSearchDataGridView.Rows[0].Selected = true; this.EnableSearchButton(); this.ParcelAcceptButton.Enabled = true; this.ParcelSearchDataGridView.Enabled = true; this.ParcelSearchDataGridView.Rows[0].Selected = true; } else { this.ParcelAcceptButton.Enabled = false; this.ParcelSearchDataGridView.Enabled = false; this.ParcelSearchDataGridView.Rows[0].Selected = false; } this.ParcelSearchDataGridView.Rows[0].Selected = true; }
/// <summary> /// F1406_s the load propert class combo. /// </summary> /// <returns></returns> public static F1406CentralAssessedSearchData F1406_LoadPropertClassCombo() { F1406CentralAssessedSearchData CentralOwner = new F1406CentralAssessedSearchData(); Hashtable ht = new Hashtable(); Utility.LoadDataSet(CentralOwner.f1406_pcget_PropertyClass, "f1406_pcget_PropertyClass", ht); return(CentralOwner); }
/// <summary> /// F1406_s the central assessed grid details. /// </summary> /// <param name="centralSearchXML">The central search XML.</param> /// <returns></returns> public static F1406CentralAssessedSearchData F1406_CentralAssessedGridDetails(string centralSearchXML) { F1406CentralAssessedSearchData CentralOwner = new F1406CentralAssessedSearchData(); Hashtable ht = new Hashtable(); ht.Add("@CentralConditionXML", centralSearchXML); Utility.LoadDataSet(CentralOwner.f1406_pclst_CentrallyAssessedGridTable, "f1406_pclst_CentrallyAssessed", ht); return(CentralOwner); }