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
Using ADO.NET • Chapter 9 419
Exercise 9.1 Creating a Connection String
1. Create a file with the name MyConnection.txt and then rename it to
MyConnection.udl.After opening MyConnection.udl from Explorer,
the Data Link Properties dialog box shown in Figure 9.1 appears.
2. Select the Provider tab and then pick your OLE DB provider. Figure
9.2 is an example of the provider-specific dialog that will prompt you for
information for building a SQL Server connection string.
The resulting text will look something like this:
[oledb]
; Everything after this line is an OLE DB initstring
Provider=SQLOLEDB.1;Password=;Persist Security Info=True; _
User ID=DBUser;Initial ...
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