Problem in making database file address virtual
hi
I am using access as the backend. Now am connecting to the database file using OleDb connection giving absolute file path ...
I want to make this file path virtual/Relative ...
current file path is
C:\Inetpub\wwwroot\CBT\Data\leaverecord.mdb
Now after creating the installation out of the project ...
and installing the product on some another machine the databasefile is notfound by the system ...
How to reformat the Connection string/Data source field so that the file path becomes relative ..
I was able to do that in case of the images but unable to do it in case of the database file...
Can any body please help me
Thanks in advance
Regards
Akhil Vira
|