Migrating from Vb Script to VB.NET & web.config

G

Guest

Hi everyone, I'm using Visual Web Developer '05 beta, VB.NET, Access.

I'm a complete newbie to .NET, so please bear with me! In classic ASP. I
used to put my connection string in global.asa. Since web.config is XML,
obviously I can't do a Server.MapPath() in that file. Of course I'll know the
path to the DB while working locally, but what about when I'm ready to build
my application and put it on a remote server in a shared hosting environment?

How can I map the path to the db in web.config? What should I be doing?

Thanks,
Brandon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top