Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

How to load a DataTable from a webservice

$
0
0

Hello,

Dim myService As New ServiceReference1.GrassValleyServicesSoapClient
Dim dtServices As DataTable = New DataTable("Omnify")

I have this webservice :
myService.GetBOMData("3922 406 50191", "", "")

This function returns a DataTable object.
DataTable columns:
ParentID – Parent ItemID
ParentRevID – Parent RevID
ParentPartNumber – Parent Part Number
ParentRev – Parent Rev
ParentDesc – Parent Description
ParentRevActive – 1 if rev is active, 0 if it is not
ParentStatus – Parent Status
ParentStatusWeight – Parent Status Weight
ChildID – Child ItemID
ChildRevID – Child RevID
PartNumber – Child Part Number
Rev – Child Rev
Description – Child Description
ChildRevActive – 1 if rev is active, 0 if it is not
Status – Child Status
StatusWeight – Child Status Weight
UnderECOText – “Yes” or “No” if child item is under an active Change/ECO
ParentAtt0 - ParentAtt4 – Custom Parent fields/attributes
ChildAtt0 - ChildAtt4– Custom child item fields/attributes

How do a load the data from the webservice in dtServices data table?
Can someone point me to the right direction.

Thank you for any help.
Mans

.

Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>