Udl File How to use it

  • Thread starter Thread starter Stan Sainte-Rose
  • Start date Start date
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
 
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.
 
Back
Top