Thank you so much. Its working fine with this connection string. Only 1 more parameter needs to be added.
Here Mode is for exclusive open of file.
string conString =@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="Path to your access file";Jet OLEDB:Database Password=password;Mode=12";
Here Mode is for exclusive open of file.
No comments:
Post a Comment