예제 #1
0
        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;
        }
예제 #2
0
 public static DataTable GetFlatType(int argCostCentreId)
 {
     return(ApplyOthersDL.GetFlatType(argCostCentreId));
 }