It is possible to get a value from my app.config?
for example:
<connectionStrings>
<add name="AccessCON" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db1.mdb"
providerName="System.Data.OleDb" />
</connectionStrings>
What I need is it possible to get the value the name "AccessCoN". & then after getting the value it will displayed to a textbox?
textbox1.text = "AccessCON".connectionstring
the value of the textbox should be,
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db1.mdb
for example:
<connectionStrings>
<add name="AccessCON" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db1.mdb"
providerName="System.Data.OleDb" />
</connectionStrings>
What I need is it possible to get the value the name "AccessCoN". & then after getting the value it will displayed to a textbox?
textbox1.text = "AccessCON".connectionstring
the value of the textbox should be,
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\db1.mdb