Beispiel #1
0
        private void fillGrid(string cond)
        {
            ChequeReplyEntity entity = null;

            entity = _chequeReplyBL.getByCheque(_id, cond);
            int count = entity.RowCount();

            tblReply.Height = 70 + count * 20;
            System.Collections.Hashtable hash = new Hashtable();
            if (_gridTools == null)
            {
                _gridTools = new GridTools();
            }
            _gridTools.bindDataToGrid(dataGridView1, entity, null, hash);
        }