C# Reporting.. Application settings
-
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?
-
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?
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