cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data source=C:\solutionvs10\test\test\bin\Debug\db2.mdb;Jet OLEDB:Database Password=secret")
cn.Open()
''# codes
cn.Close()I used V S 2010 The above is my code......u can see that it is Ms Access DataBase....(password protection) How i can create a setup .....that can be easy to install other computer.........
Can i Create such a setup ???
Hirendra SisodiyaPosted Dec 16, 2010, 5:08 AM
thanks
Sam HobbsPosted Dec 8, 2010, 9:14 PM
Shahan AyyubPosted Dec 8, 2010, 4:57 PM
for Asp.Net you can see the other experts' comment, for Windows application I would recommend you to place the db2.mdb in projects' BIN folder and for that use connectionstring like this:
Jiteendra SampathiraoPosted Nov 18, 2010, 3:19 AM
In web.config file declare the code like: