FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
datasource,dataset .net dll assembly
datasource,dataset .net dll assembly
Iniciado por TODD ( Beaulieu of A, 30,ene. 2013 19:50 - No hay respuesta
Conéctese…
TODD ( Beaulieu of A
#1
Miembro registrado
16 mensajes
Publicado el 30,enero 2013 - 19:50
Hello all,
I am trying to load a datasource in webdev17 by calling a .Net assembly that we have in our system. When The program returns from the .Net dll I receive a "incompatable Type" error. It seems that the dataset defined in the .Net dll does not want to be placed back in an rs defined as datasource. I get the same error if I define rs as a dataset and pass it to the .Net assembly..incompatable type. Below is the code...What am I missing here? We have manu .Net dll that perform functions that return data sets that I would like to utilize. Thank you very much, Todd
WebDev Code:
rs is Data Source
MYOBJ is RetrieveSalesman.RetrieveSalesman
rs = MYOBJ.RetrieveDVPList(gcstrConnString_Beau)
HReadFirst(rs)
WHILE NOT HOut(rs)
DDNAME is string = rs.S6DNUM +"-" + rs.S6DNAM
ListAdd(ddlDivisional, DDNAME)
HReadNext(rs)
END
.net assembly code:
Public Function RetrieveDVPList(ByVal strConnString_Beau As String) As DataSet
Dim rs As DataSet
Dim qry As String = "Select Distinct S6DNAM, S6DNUM From SIP260 Order By S6DNUM"
Return ExecuteDataset(strConnString_Beau, CommandType.Text, qry)
End Function
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto