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,
<connectionStrings>
<add name="myConn" connectionString="String From your udl file"/>
</connectionStrings>
Now, in your application file (C#) you can call the connection string as follows,
string myConnString=ConfigurationaManager.ConnectionString["myConn"].ToString();
using(ODBCConnection conn=new ODBCConnection())
{
//Do your database processing here.
}
Imagination is more important than knowledge..
[Albert Einstein]
Regards,
Chandu
My Blog