private void PopulateFlatType() { DataTable dtFlatType = new DataTable(); dtFlatType = ApplyOthersDL.GetFlatType(m_iCostCentreId); cboFlatType.Properties.DataSource = dtFlatType; cboFlatType.Properties.ForceInitialize(); cboFlatType.Properties.PopulateColumns(); cboFlatType.Properties.DisplayMember = "TypeName"; cboFlatType.Properties.ValueMember = "FlatTypeId"; cboFlatType.Properties.ShowHeader = false; cboFlatType.Properties.ShowFooter = false; cboFlatType.Properties.Columns["FlatTypeId"].Visible = false; }
public static DataTable GetFlatType(int argCostCentreId) { return(ApplyOthersDL.GetFlatType(argCostCentreId)); }