当前位置: 首页>>代码示例>>C#>>正文


C# WSGestion.WSGestion.SEL_GRID_BY_ID_Usuario方法代码示例

本文整理汇总了C#中WSGestion.WSGestion.SEL_GRID_BY_ID_Usuario方法的典型用法代码示例。如果您正苦于以下问题:C# WSGestion.WSGestion.SEL_GRID_BY_ID_Usuario方法的具体用法?C# WSGestion.WSGestion.SEL_GRID_BY_ID_Usuario怎么用?C# WSGestion.WSGestion.SEL_GRID_BY_ID_Usuario使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在WSGestion.WSGestion的用法示例。


在下文中一共展示了WSGestion.WSGestion.SEL_GRID_BY_ID_Usuario方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: actualizacion_datos

        private void actualizacion_datos()
        {
            WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
            wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");

            WSGestion.MOD_Usuario obj = new WSGestion.MOD_Usuario();

            obj = wsgest.SEL_GRID_BY_ID_Usuario(codigo);

            cantidad_mascota = obj.CANT_mascota.ToString();
            cantidad_cita = obj.CANT_cita.ToString();
            cantidad_expediente = obj.CANT_expediente.ToString();
            cantidad_factura = obj.CANT_factura.ToString();
            cantidad_entrada_inventario = obj.CANT_entrada_inventario.ToString();
            cantidad_salida_inventario = obj.CANT_salida_inventario.ToString();
            cantidad_articulo = obj.CANT_articulo.ToString();
            cantidad_bodega = obj.CANT_bodega.ToString();
        }
开发者ID:juahidma,项目名称:petnet-web,代码行数:18,代码来源:frm_Home.aspx.cs

示例2: Carga_Editar

        private void Carga_Editar()
        {
            try
            {
                WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
                wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");
                WSGestion.MOD_Usuario obj = new WSGestion.MOD_Usuario();
                obj = wsgest.SEL_GRID_BY_ID_Usuario(codigo_seleccionado);
                txt_codigo.Value = obj.USU_id_usuario.ToString();
                txt_nombre.Value = obj.USU_nombre;
                txt_apellido1.Value = obj.USU_primapellido;
                txt_apellido2.Value = obj.USU_segapellido;
                txt_telefono.Value = obj.USU_telefono;
                txt_email.Value = obj.USU_email;
                txt_contrasena.Value = obj.USU_contrasena;
                contrasena = obj.USU_contrasena;
                txt_contrasena.Disabled = true;
                txt_confirmacion.Value = obj.USU_contrasena;
                txt_confirmacion.Disabled = true;
                txt_Direccion.Value = obj.USU_direccion;
                dl_perfil.SelectedValue = obj.USU_id_perfil.ToString();
                dlPuesto.SelectedValue = obj.USU_id_puesto.ToString();
                txt_codigocentro.Value = obj.USU_id_centro_atencion.ToString();
                Carga_Centro_Nombre(obj.USU_id_centro_atencion);
                if (obj.USU_id_estado_usuario == 1)
                {
                    chk_activo.Checked = true;
                }
                else
                {
                    chk_activo.Checked = false;
                }

            }
            catch (Exception exc)
            {
                WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
                wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");
                Session[wsgest.Get_usu_id_session(Session.SessionID.ToString())+"Codigo_Select"] = "0";
                Alert_Mensaje.Attributes["class"] = "alert alert-danger";
                mensaje_alerta = exc.ToString();
                titulo_mensaje_alerta = "Error: ";
                Alert_Mensaje.Visible = true;
            }
        }
开发者ID:juahidma,项目名称:petnet-web,代码行数:45,代码来源:frm_Usuario.aspx.cs


注:本文中的WSGestion.WSGestion.SEL_GRID_BY_ID_Usuario方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。