Since you are referring to ASP.NET and not classic ASP, you may want to 
subscribe and post here:
 
[EMAIL PROTECTED]
 
However, I can try and help.
 
I have never used Access in ASP.NET.  So I am only assuming this works:
 
<appSettings>
<add key="ConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;Data 
Source=\somepath\mydb.mdb;User Id=admin;Password=;" />
</appSettings> 
 
And here is how you can get the above connection string:
 
ConfigurationSettings.AppSettings("ConnectionString")
 
If you need any examples of connection strings, this site has some good samples:
 
http://www.connectionstrings.com/ 
Mark

preetha venkii <[EMAIL PROTECTED]> wrote:
hi

i am new to the asp.net.i want to know how to give connection string for 
Ms-Access in web config file.Thanks in advance

regards
precee

Yahoo! India Matrimony: Find your life partneronline.

[Non-text portions of this message have been removed]


Yahoo! Groups SponsorADVERTISEMENT


---------------------------------
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to