本文整理汇总了C#中WSGestion.WSGestion.SEL_GRID_BY_ID_Visita方法的典型用法代码示例。如果您正苦于以下问题:C# WSGestion.WSGestion.SEL_GRID_BY_ID_Visita方法的具体用法?C# WSGestion.WSGestion.SEL_GRID_BY_ID_Visita怎么用?C# WSGestion.WSGestion.SEL_GRID_BY_ID_Visita使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类WSGestion.WSGestion
的用法示例。
在下文中一共展示了WSGestion.WSGestion.SEL_GRID_BY_ID_Visita方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Carga_Editar
private void Carga_Editar()
{
try
{
WSGestion.WSGestion wsgest = new WSGestion.WSGestion();
wsgest.Url = ConfigurationManager.AppSettings.Get("dirWs");
WSGestion.MOD_Visita obj = new WSGestion.MOD_Visita();
obj = wsgest.SEL_GRID_BY_ID_Visita(codigo_seleccionado, centro);
txt_codigo.Value = obj.VCE_id_visita_centro_visita.ToString();
DateTime Fecha = Convert.ToDateTime(obj.VCE_fecha);
Fecha_Formato = Fecha.ToString("MM/dd/yyyy hh:mm:ss tt");
txt_cea_codigo.Value = obj.CEA_id_centro_atencion.ToString();
txt_cea_nombre.Value = obj.CEA_nombre;
txt_nombre_mascota.Value = obj.MAS_nombre;
}
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;
}
}