Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# Reporting.. Application settings

C# Reporting.. Application settings

Scheduled Pinned Locked Moved C#
csharphelpquestiondatabasesql-server
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jacob D Dixon
    wrote on last edited by
    #1

    I have a little issue with the datasets in Visual Studio 2008. I am trying to do some reporting. I have created my datasets and they are linked to the Application Settings for the connection string to the SQL Server. Well the problem is that I built my application to store that information in the registry. So it gets and sets the COnnection String in the Windows Registry. So how do I specify those datasets to read from registry, or not even that, just get the information for the connection string from my RegistryAccess class I created? Which gets the connectionstring and returns the string?

    N 1 Reply Last reply
    0
    • J Jacob D Dixon

      I have a little issue with the datasets in Visual Studio 2008. I am trying to do some reporting. I have created my datasets and they are linked to the Application Settings for the connection string to the SQL Server. Well the problem is that I built my application to store that information in the registry. So it gets and sets the COnnection String in the Windows Registry. So how do I specify those datasets to read from registry, or not even that, just get the information for the connection string from my RegistryAccess class I created? Which gets the connectionstring and returns the string?

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      Jacob D Dixon wrote:

      So it gets and sets the COnnection String in the Windows Registry

      The most common place to store connection string information is in the config file, even has a special section for it, connectionStrings

      Jacob D Dixon wrote:

      So how do I specify those datasets to read from registry

      You don't specify this in the DataSet. DataSet is just the result from some other operation


      only two letters away from being an asset

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups