troubleshooting Question - pull paramter from dataset

Avatar of GlobaLevel
GlobaLevelFlag for United States of America asked on
.NET ProgrammingASP.NETVisual Basic.NET
6 Comments1 Solution365 ViewsLast Modified:
I have this web service that the client supplies thru a dataset then in the .vb side on the server..I need to pull the username and password from a dataset ...

    <WebMethod(Description:="Validates df User", EnableSession:=False)> _
   Public Function Validate_TC_User(ByVal custDS As DataSet) As DataSet
        Dim adapter As SqlDataAdapter = New SqlDataAdapter()

        ' adapter.InsertCommand = New SqlCommand( _
        '"INSERT INTO shoe_queue ( shoe_number) " & _
        '"Values( @shoe_number)", connection)
        ' adapter.InsertCommand.Parameters.Add( _
        '   "@shoe_number", SqlDbType.NVarChar, 50, "shoe_number")

       Dim var_username As String
        var_username = custDS.

        adapter.InsertCommand.Parameters.Add( _
     "@shoe_message", SqlDbType.NChar, 5, "shoe_message")
Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
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 6 Comments.
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