Jul 01, 2009 06:11 AM|chandu2chandu1|LINK
You open the UDL file with the notepad. There you can find the connection string, then you can copy the connection string to your web.config file and from there you can call the connection string and connect to your database using the connection object.
See the web.config files snippet,
<add name="myConn" connectionString="String From your udl file"/>
Now, in your application file (C#) you can call the connection string as follows,
using(ODBCConnection conn=new ODBCConnection())
//Do your database processing here.