PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
datasource,dataset .net dll assembly
datasource,dataset .net dll assembly
Started by TODD ( Beaulieu of A, Jan., 30 2013 7:50 PM - No answer
Connect yourself…
TODD ( Beaulieu of A
#1
Registered member
16 messages
Posted on January, 30 2013 - 7:50 PM
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
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text