Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > BOOK: Beginning ASP 3.0
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 17th, 2005, 03:54 AM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Wondering why .UDL for connecting string

I have seen few time connection string files are saved as .udl file and then it is include in the pages where required.

just wondering is there any advantage of doing this?
What's a difference between saving as .asp file and .udl ????

  #2 (permalink)  
Old May 17th, 2005, 06:39 AM
Friend of Wrox
 
Join Date: Apr 2005
Location: Cochin, , India.
Posts: 186
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

.UDL is an easy way to create a connectionstring.
You can try out this by
-> just create a new text file by rightcliking the mouse(if you donot have a new udl in popmenu).
-> rename to a.udl
-> just double click it

See the diference

So changing a connection string is so easy.
another thing you need not search or touch the code to change a connection.

Prashant





  #3 (permalink)  
Old May 17th, 2005, 07:18 AM
Authorized User
 
Join Date: Dec 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thnks Prashant,
But I got a new probs.When I was editing the conection string I open the udl in text mode and there after I am not able to open it in its usual format.
I have tried updating MDAC but couldn't get through.

Any reason why.

Thnks

  #4 (permalink)  
Old May 17th, 2005, 07:39 AM
Friend of Wrox
 
Join Date: Apr 2005
Location: Cochin, , India.
Posts: 186
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi,

If you are in hide known extensions mode.
You must have saved the file x.udl.txt.

You need'nt open in a text editor to edit double click and edit
OR
Right click and view file properties, you can edit.

Prashant




Prashant

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
connection to sqlserver through udl file qiux ADO.NET 1 May 21st, 2008 11:12 AM
Wondering how I'd go about doing this Smythe Classic ASP Basics 8 July 20th, 2006 08:28 AM
vb.net & .udl file sachinbashetti Crystal Reports 0 May 23rd, 2005 02:00 AM
UDL Connection Problem mar0364 Classic ASP Databases 6 July 8th, 2004 03:15 PM
Chapter 5 page 150 - Wondering why.... potassium Beginning PHP 3 July 27th, 2003 12:05 AM



All times are GMT -4. The time now is 07:40 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.