private void Block() { RepositoryItemLookUpEdit cboBlk = cboBlock.Edit as RepositoryItemLookUpEdit; DataTable dt = new DataTable(); dt = UnitDirBL.GetBlock(m_iCCId); cboBlk.DataSource = dt; cboBlk.DisplayMember = "BlockName"; cboBlk.ValueMember = "BlockId"; cboBlk.PopulateColumns(); cboBlk.Columns["BlockId"].Visible = false; cboBlk.ShowHeader = false; cboBlk.ShowFooter = false; }