Good evening everyone, I added a new visual connectionstring in C # property

but I can not find how to assign it to the OleDbConnection object in a new class Connection
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.OleDb; namespace GestionReglement.Modele { class connexion { private OleDbConnection con = null; public OleDbConnection getconnexion() { con = new OleDbConnection(); return con; } } } |

Suvendu Shekhar GiriPosted Nov 23, 2015, 12:29 PM
string myMdbConnectionString= Properties.Settings.Default.mdbConnectionString;