Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1381
  • Last Modified:

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.
0
Johny Bravo
Asked:
Johny Bravo
  • 3
  • 2
1 Solution
 
irudykCommented:
Take a look at the following link which seems to describe what you are tyring to do - http://www.dreamincode.net/code/snippet1145.htm
0
 
Johny BravoAuthor Commented:
Thanks irudyk,
but I am not sure if it works in Shared add-in
0
 
irudykCommented:
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?
0
 
Johny BravoAuthor Commented:
I put the connectionstring in app.config
But not able to get ConfigurationManager in connect.cs
0
 
Johny BravoAuthor Commented:
I am closing this question.Appreciate ur effort of answering..Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now