T
Tom
I've got some file UDL's I use with my current 6.0 apps.
I want to use them with .NET, but I can't get the
connection right. Basically, I'm doing this (C#):
strConnect = "File Name=" + HttpRuntime.AppDomainAppPath
OdbcConnection con1 = new OdbcConnection();
con1.ConnectionString = strConnect;
con1.Open ();
But I get a message telling me "File Name" is not a good
keyword. Can anyone give an example of how to use my UDL
files with .NET? (I've also tried using a sqlConnection
object, but it doesn't work either)
thanks
I want to use them with .NET, but I can't get the
connection right. Basically, I'm doing this (C#):
strConnect = "File Name=" + HttpRuntime.AppDomainAppPath
OdbcConnection con1 = new OdbcConnection();
con1.ConnectionString = strConnect;
con1.Open ();
But I get a message telling me "File Name" is not a good
keyword. Can anyone give an example of how to use my UDL
files with .NET? (I've also tried using a sqlConnection
object, but it doesn't work either)
thanks