Johny Bravo
asked on
Config file in Outlook add-in
Hi all,
I am developing a shared add-in,in which I am connecting to my SQL database.I want to put my connection string in app.config file and access ot from there.
And some keys also,which I should be able to read in add-in.
I am developing a shared add-in,in which I am connecting to my SQL database.I want to put my connection string in app.config file and access ot from there.
And some keys also,which I should be able to read in add-in.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Okay, I guess I'm missing something here...I would have thought that the shared add-in would contain code that to read the connection string from the app.config file. Is that not the case?
ASKER
I put the connectionstring in app.config
But not able to get ConfigurationManager in connect.cs
But not able to get ConfigurationManager in connect.cs
ASKER
I am closing this question.Appreciate ur effort of answering..Thanks.
ASKER
but I am not sure if it works in Shared add-in