Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading a .NET Dataset returned from a call
Message
From
11/05/2007 21:30:35
John Baird
Coatesville, Pennsylvania, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Jet/Access Engine
Miscellaneous
Thread ID:
01224719
Message ID:
01224899
Views:
15
>Hi guys,
>thanks very much for the all your help. With your suggestions and help from the guys that produce .net extender I was able to solve it with this code.
>(The ? is just to print the test out on the screen as records.)
>
oEmployee = CLRCreateObject("PenSoftx.Employee",1)
>ds = oEmployee.GetEmployees
>oTable = ds.Tables.item(0)
>
>For nRow = 0 to oTable.Rows.Count -1
>  ?
>  oRow = ds.Tables.item(0).Rows.Item(nRow)
>  FOR nCol = 0 to oTable.Columns.Count -1
>    eData = oRow.Item(nCol)  && Data in each column in a Row (record)
>    ?? eData
>    ?? ', '
>  ENDFOR
>ENDFOR
Good Grief? Is that supposed to be compatible .net code?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform