We are consuming a web service designed on an AS400. We are consuming this
via ASP.Net by defining a Service Reference.
We then use the following code
Dim wcfClient1 As WCSSHIPMNT.WCSSHIPMNTPortTypeClient = New WCSSHIPMNT.WCSSHIPMNTPortTypeClient
Dim wcfInput As WCSSHIPMNT.WCSSHIPMNTInput = New WCSSHIPMNT.WCSSHIPMNTInput()
wcfInput._PARMCUST = " 5709B"
Dim wcfResult1 As WCSSHIPMNT.WCSSHIPMNTResult = wcfClient1.wcsshipmnt(wcfInput)
DataGrid2.DataSource = wcfResult1._DSSHIPMENT
To bind the result to the datagrid.
This works well, except I am not able to capture on the ItemDataBound event.
I am not able to figure out how to bind this data to anything but the datagrid.
I would like it in a data adopter, or a data set.
Does anyone know how to do this?