<configuration>
<connectionStrings>
<add name ="con" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\Tiles.accdb;Jet OLEDB:Database Password=sync;"/>
</connectionStrings>
</configuration>
OleDbConnection con = new OleDbConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString);
<connectionStrings>
<add name ="con" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\Tiles.accdb;Jet OLEDB:Database Password=sync;"/>
</connectionStrings>
</configuration>
OleDbConnection con = new OleDbConnection(ConfigurationManager.ConnectionStrings["con"].ConnectionString);
No comments:
Post a Comment