|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Reading the application folder..I have written an ASP.Net application which reads the data from MS Access
file. Here is the connection string value. "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDB.mdb;User Id=admin;Password=;" What should be the database path name If I keep the .mdb file in the application folder. ..Net Framework 1.1. Thank you, Pete Try This....substitue App_Data for folder db is in.
Public Function App_Path() As String Return System.AppDomain.CurrentDomain.BaseDirectory() End Function "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App_Path() & "\App_Data\MyDB.mdb;User Id=admin;Password=;" -- Show quoteHide quoteGet a powerful web, database, application, and email hosting with KJM Solutions http://www.kjmsolutions.com "Pete Smith" <PeteSmit***@hotmail.com> wrote in message news:uI7DkgXQGHA.1556@TK2MSFTNGP09.phx.gbl... > > > I have written an ASP.Net application which reads the data from MS Access > file. > > Here is the connection string value. > > "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDB.mdb;User > Id=admin;Password=;" > > What should be the database path name If I keep the .mdb file in the > application folder. > > .Net Framework 1.1. > > Thank you, > > Pete > > > > > >
parsing an xml string into fields
Convert Script code to VB.Net Simple question: How to find Elapsed time (in seconds) formatting time and date Using the backgroundworker to populate a treeview Error Starting to debug VSTO 2k5 Question Copy DataGrid Rows to Clipboard Call a button Help!! about the webBrowser! |
|||||||||||||||||||||||