Featured post
database connectivity in c# -
i working on c# windows project.i using microsoft access database oledbconnection connection.my database "email.mdb" in document directory , "email_db.udl" in "d: drive".this running on computer.but whenever making exe installer file installment on other pc not working.i placing "mdb" , "udl" file in same directory on pc.i supposing ('udl' file) not connected database. how resolve problem installation on windows pc. thanks
you can put database files in project's directory (where sln file is) , access them through bare filenames (without d:...., filename). in case of installation have set installer put in installation folder (where exe file is)
this way carry in 1 folder , organized.
probably here have problem because "my document" directory has different path in every pc.
- Get link
- X
- Other Apps
Comments
Post a Comment