B
Bob
Hi,
i was wondering whether i would use global.asax or web.config for the
connectionstring to the database. I put this in global.asax.
Sub Application_Start
Application("Connect") = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\mydb.mdb;"
End Sub
In web.config, i added:
<appSettings>
<add key="newres" value"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\mydb.mdb;"/>
</appSettings>
What's the best way (speed, resources ..) according to you?
Thanks
bob
i was wondering whether i would use global.asax or web.config for the
connectionstring to the database. I put this in global.asax.
Sub Application_Start
Application("Connect") = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\mydb.mdb;"
End Sub
In web.config, i added:
<appSettings>
<add key="newres" value"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=c:\mydb.mdb;"/>
</appSettings>
What's the best way (speed, resources ..) according to you?
Thanks
bob