newbie web config question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
This may sure sound a silly question, but it's the only way i will learn.
I am trying to create a web.config file for an application i am trying to
build in visual basic.net

If i want to connect to a database, how do i go about the following line of
code
What do i put in the appsettings tag

<appSettings>
<add key="myConnection" />
</appSettings>

Now that is all i have done, coz i am not sure about the rest, I think i
need a Value="" etc.. tag, but i dont know what to put in it.
MY database is a Microsoft access database on my c:\ drive, so i guess it's
oledb etc...
Can anyone enlighten me please?

Thanks so much
Raphael
 
I seem to be making progress
value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=whatever\whatever;User
Id=admin;Password=;"

Any corrections?
 

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

Back
Top