End Google Ads 201810 - BS.net 01 --> Hello Friends,
i am working on a desktop application that i have build in VS2005 using C#.
In this application user needs to login to get in. first i have placed my database created in MS Access in same installed directory and i have connect with it to verify the users credentials. now my requirement is bit change. i want to place MS data base on a center point from where every one can access the DB for login. can u please let me know how i can establish the connection between them.
my previous connection string was this.
string strDBPath = AppDomain.CurrentDomain.BaseDirectory + dbChartImager.mdb";
OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + strDBPath + ";Jet OLEDB:Database Password=supna786;Mode=ReadWrite|Share Deny None");

this was working fine.
now i have upload my db on a server and trying to access with following connection string but is not working.
string strDBPath ="http://domainname.com//dbChartImager.mdb";
OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + strDBPath + ";Jet OLEDB:Database Password=supna786;Mode=ReadWrite|Share Deny None");
please let me know how i can access it. and if possible please provide some sample code that can help me.
Thanks