Link to home
Start Free TrialLog in
Avatar of Robb Hill
Robb HillFlag for United States of America

asked on

Console App: Outputting a dataset

How would you write from a console application the ability to return mulitiple values....

Here is what I have:  

I am consuming a webservice that returns a dataset.
this line of code in the following function doesnt work because the proxy returns a would I write a console to handle  this..  when I consume it in a web app I just pass it to a grid view...

Dim result As String = proxy.GetFacilityID(9)

Module Consumer

    Private Sub Main(ByVal args() As String)
        Dim proxy As New MyServiceClient
        Dim dc As New DataContract1

        dc.CustID = 9
        Dim result As String = proxy.GetFacilityID(9)

        Console.WriteLine("Press <enter> to exit...")
    End Sub

End Module
Avatar of TSmooth

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial