Exemplo n.º 1
0
        private void InitalData()
        {
            DType     type = new DType();
            DataTable dt   = type.GetAllType();

            cbxType.DataSource    = dt;
            cbxType.ValueMember   = "TypeId";
            cbxType.DisplayMember = "Type";
        }