Пример #1
0
        private void fillForm()
        {
            int Id = 0;

            int.TryParse(hfId.Value, out Id);

            try
            {
                RolMng oRMng = new RolMng();
                Rol    oR    = new Rol();
                oR.Id       = Id;
                oRMng.O_Rol = oR;
                oRMng.selById();

                txt_nombre.Text = oR.Nombre;
            }
            catch
            {
                throw;
            }
        }