
12/11/2008, 22:29
|
 | | | Fecha de Ingreso: marzo-2003 Ubicación: Villahermosa, Tabasco, Mé
Mensajes: 60
Antigüedad: 21 años, 11 meses Puntos: 0 | |
Respuesta: Consumir un WebMethod de tipo Lista Generica Que tal Sr Peterpay, veo que usted sabe un poco de c#, eso me da gusto.
Lo intenté a como usted me indica<.
ExalAr.WS.exalar ws = new ExalAr.WS.exalar();
List<ExalAr.WS.lstCombo> lst = ws.get_lstCombo2(1);
y nada
me envia es error:
Cannot implicitly convert type 'ExalAr.WS.lstCombo[]' to 'System.Collections.Generic.List<ExalAr.WS.lstComb o>'
También intenté así:
ExalAr.WS.exalar ws = new ExalAr.WS.exalar();
List<Lista> lst = ws.get_lstCombo2(1);
y tampoco, no jala.
Me envía este error:
Cannot implicitly convert type 'ExalAr.WS.lstCombo[]' to 'System.Collections.Generic.List<Lista>'
Me podría iluminar un poco? porque para mi esto no es tan trivial.
qué estaré haciendo mal?
__________________ Carlos Hidalgo
[email protected]
Villahermosa, Tabasco, México. "Locura es: Obtener siempre el mismo resultado, y seguir insistendo con lo mismo, esperando que algún día, algo nuevo suceda." --Albert Einstein--
:si: |