Improve company productivity with a Business Account.Sign Up
Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.
Public Sub SelectCustomer()
Dim connection As SqlConnection = _
Dim command As SqlCommand = _
New SqlCommand("SelectCustomer", _ connection)
command.CommandType = CommandType.StoredProcedure
Dim adapter As SqlDataAdapter = New SqlDataAdapter(command)
Dim table As DataTable = New DataTable
Catch ex As Exception
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!