I am able to access the value of a property defined in the Settings.settings file in my class file SomeClass.cs as such:
TestProject.Properties.Settings property
I ended up just making a class specifically for retrieving those property values:
Example:
public class TestProperties
{
public static string getValue1()
{
return Properties.Settings.Default.Value1;
}
public static string getValue2()
{
return Properties.Settings.Default.Value2;
}
}
Then in the .aspx file I retrieve the values as such:
Value1: <%= TestProperties.Value1() %>
Value2: <%= TestProperties.Value2() %>
If anyone knows of an easier way to do this I'd like to get some comments on it.