troubleshooting Question

Console App: Outputting a dataset

Avatar of Robb Hill
Robb HillFlag for United States of America asked on
.NET ProgrammingEditors IDEs
1 Comment1 Solution385 ViewsLast Modified:
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
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros