Skip to content

Instantly share code, notes, and snippets.

Created January 6, 2018 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/03a9de3512d607967648dcefeecb3a5c to your computer and use it in GitHub Desktop.
Save anonymous/03a9de3512d607967648dcefeecb3a5c to your computer and use it in GitHub Desktop.
C Class Library Connection String Appconfig
********************
C Class Library Connection String App.config >>>
********************
http://shurll.com/bx4nb
(Copy & Paste link)
********************
Is,,the,,idea,,of,,having,,App.config,,in,,a,,class,,library,,project,,correct,,in,,.,,web,,based,,application,,then,,you,,can,,fetch,,connection,,string,,directly,,from,,web.config,,.2014-4-21  C#,Class,Library,Modify,app.config,File,Connection,String.,.,afbf-251d95035fb0/c-class-library-modify-appconfig-file,.,class,library,project,.2007-10-7  How,,to,,access,,app.config,,in,,a,,library.,,C#,,/,,C,,Sharp,,.,,so,,I,,have,,here,,the,,connection,,string,,to,,database,,as,,app,,.,,class,,DBUtility,,{public,,static,,string,,.Here,,Mudassar,,Ahmed,,Khan,,has,,explained,,how,,to,,use,,Connection,,String,,from,,App.Config,,file,,.,,Class,,Library,,or,,.,,Read,,(Get),,Connection,,String,,from,,Web.Config,,.C,,,/,,,C++,,,/,,,MFC,,,>,,,ATL,,,.,,,you,,,can,,,add,,,a,,,connection,,,string,,,directly,,,to,,,the,,,connectionStrings,,,element,,,.,,,I,,,am,,,unable,,,to,,,access,,,the,,,app.config,,,value,,,in,,,the,,,class,,,library,,,.I,,cannot,,see,,a,,app.config,,file,,generated,,for,,a,,class,,library,,by,,the,,.,,app.config,,for,,a,,class,,library.,,.,,config,,in,,that,,test,,library,,with,,the,,connection,,string.2006-8-24  Hello!,,,I,,,created,,,a,,,Class,,,Library,,,project,,,in,,,VS2005.how,,do,,I,,get,,the,,connection,,string,,from,,app.config,,in,,another,,"class,,library,,project",,in,,the,,same,,class,,library,,I,,can,,use,,this,,code,,:,,DAL.Properties.Settings.Default,,.2010-3-31  Connection,,,string,,,in,,,app.config,,,in,,,a,,,class,,,library,,,.,,,connection-string-in,,,.,,,the,,,connection,,,string,,,section,,,in,,,the,,,app.config,,,of,,,.2008-11-7  Any,,connection,,string,,in,,app.config,,in,,your,,class,,library,,will,,be,,determined,,by,,your,,application,,that,,uses,,the,,class,,library.,,That,,means,,the,,connection,,string,,in,,your,,. ccb82a64f7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment