protected void FillGVDetallePerfil() { CPerfilUsuario objPerfil = new CPerfilUsuario(_DataSistema.ConexionBaseDato); dvPerfil = new DataView(objPerfil.Detalle("", "", "", ' ', _DataSistema.Cusuario, DateTime.Today, _DataSistema.Cusuario, DateTime.Today, 2).TBC_PERFIL_USUARIO); GVDetallePerfil.DataSource = dvPerfil; GVDetallePerfil.DataBind(); }
protected void DatosPerfil() { CPerfilUsuario objPerfil = new CPerfilUsuario(_DataSistema.ConexionBaseDato); dvPerfil = new DataView(objPerfil.Detalle(TxtIdCodiP.Text, "", "", ' ', _DataSistema.Cusuario, DateTime.Today, _DataSistema.Cusuario, DateTime.Today, 3).TBC_PERFIL_USUARIO); if (dvPerfil.Count > 0) { TxtCodigo2.Text = dvPerfil.Table.Rows[0]["ID"].ToString(); TxtNombre2.Text = dvPerfil.Table.Rows[0]["DS_NOMBRE_PERFIL"].ToString(); TxtDescripcion2.Text = dvPerfil.Table.Rows[0]["DS_DESCRIPCION"].ToString(); } }