Skip to Main Content
VB.Net Web Developer's Guide
book

VB.Net Web Developer's Guide

by Syngress
September 2001
Intermediate to advanced content levelIntermediate to advanced
608 pages
23h 46m
English
Syngress
Content preview from VB.Net Web Developer's Guide
Developing Web Applications • Chapter 10 509
9. Because the GetOrders function uses ADO.NET to connect to the
database, we have to import those namespaces into our class.Add this
import statement to the class:
Imports System.Data.SqlClient
10. In order to test it, build the application and type the URL of this Web
service into the browser. Now you will see two methods instead of one
method shown in Figure 10.12. Enter the Customer ID HANAR or
any valid Customer ID.You will see that ASP.NET returns the orders in
XML format.
We have created a Web service with two Web methods in it. Later on in this
chapter we create a Web consumer and a Windows consumer ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB.NET Core Classes in a Nutshell

VB.NET Core Classes in a Nutshell

Budi Kurniawan, Ted Neward

Publisher Resources

ISBN: 9781928994480