T
Tony Johansson
Hello!
At the end is the complete code for file Settings.Designer.cs
I can't understand this statement
((string)(this["NorthwindConnectionString"]));
in this NorthwindConnectionString propery
public string NorthwindConnectionString
{
get
{
return ((string)(this["NorthwindConnectionString"]));
}
}
namespace WindowsApplication1.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator",
"8.0.0.0")]
internal sealed partial class Settings :
global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance =
((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new
Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data
Source=HEMPC\\SQLEXPRESS;Initial Catalog=Northwind;Integrated
Security=True")]
public string NorthwindConnectionString
{
get
{
return ((string)(this["NorthwindConnectionString"]));
}
}
}
}
//Tony
At the end is the complete code for file Settings.Designer.cs
I can't understand this statement
((string)(this["NorthwindConnectionString"]));
in this NorthwindConnectionString propery
public string NorthwindConnectionString
{
get
{
return ((string)(this["NorthwindConnectionString"]));
}
}
namespace WindowsApplication1.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator",
"8.0.0.0")]
internal sealed partial class Settings :
global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance =
((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new
Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data
Source=HEMPC\\SQLEXPRESS;Initial Catalog=Northwind;Integrated
Security=True")]
public string NorthwindConnectionString
{
get
{
return ((string)(this["NorthwindConnectionString"]));
}
}
}
}
//Tony