Udl File How to use it

S

Stan Sainte-Rose

Hi,
I have a quick question about the udl file.
How to use it in a project ?
I ve created one, but I don't know where to put it and how to replace my
current connection string with it ?
Thks

Stan
 
M

Miha Markic

Hi Stan,

Try this:
oleDbConnection1.ConnectionString = "File Name=test.udl";

BTW, it is better to provide connection string by yourself because of
security (udl stores password in clear text) and beacuse it is faster.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top