From: Alessandro P. <pet...@in...> - 2003-06-12 19:31:12
|
Misael, in your web.config file write a key like this: <appSettings> <add key="ConnectionString" value="Database=d:\db\mydb.fdb;User=MYUSER;Password=mypwd;Dialect=3;Server=1 27.0.0.1" /> </appSettings> and then use the provider simply importing the assembly and instantiating a new connection: using FirebirdSql.Data.Firebird; namespace MyNameSpace { public class MyClass { public void MyMethod() { FbConnection FbConn = new FbConnection(ConfigurationSettings.AppSettings["ConnectionString"]); FbConn.Open(); try { // do what you need to do... } finally { FbConn.Close(); } } } } Regards, Alessandro Petrelli. > ""Misael Chuc "" <MC...@ro...> wrote in message news:see...@gw...... > How can I make a Connection to interbase server via firebird-net-provider using ASP.NET or How can make a UDL file to I can use in my proyect. > Regards! |