Click here to Skip to main content
15,867,308 members
Home / Discussions / C#
   

C#

 
QuestionI had an error of Email in line " dynamic email = new Email("ChngPasswordEmail");" which say's The type or Namespace name "Email" could not be found Pin Pin
Member 1367430013-Feb-18 0:33
Member 1367430013-Feb-18 0:33 
AnswerRe: I had an error of Email in line " dynamic email = new Email("ChngPasswordEmail");" which say's The type or Namespace name "Email" could not be found Pin Pin
CHill6013-Feb-18 1:07
mveCHill6013-Feb-18 1:07 
GeneralRe: I had an error of Email in line " dynamic email = new Email("ChngPasswordEmail");" which say's The type or Namespace name "Email" could not be found Pin Pin
Member 1367430013-Feb-18 1:12
Member 1367430013-Feb-18 1:12 
AnswerRe: I had an error of Email in line " dynamic email = new Email("ChngPasswordEmail");" which say's The type or Namespace name "Email" could not be found Pin Pin
OriginalGriff13-Feb-18 1:10
mveOriginalGriff13-Feb-18 1:10 
AnswerRe: I had an error of Email in line " dynamic email = new Email("ChngPasswordEmail");" which say's The type or Namespace name "Email" could not be found Pin Pin
Dave Kreskowiak13-Feb-18 3:19
mveDave Kreskowiak13-Feb-18 3:19 
QuestionC# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 4:00
Travis Jacobson12-Feb-18 4:00 
AnswerRe: C# need help reading XML config file with multiple values in windows forms app Pin
Richard MacCutchan12-Feb-18 6:04
mveRichard MacCutchan12-Feb-18 6:04 
AnswerRe: C# need help reading XML config file with multiple values in windows forms app Pin
Gerry Schmitz12-Feb-18 6:13
mveGerry Schmitz12-Feb-18 6:13 
Deserialize the file into a class (paste special xml as class) if you don't want to parse (e.g. XElement):
   /// <remarks/>
   [System.Xml.Serialization.XmlTypeAttribute( AnonymousType = true )]
   [System.Xml.Serialization.XmlRootAttribute( Namespace = "", IsNullable = false )]
   public partial class configuration {

<pre>
  private configurationUserSettings userSettingsField;

  /// <remarks/>
  public configurationUserSettings userSettings {
     get {
        return this.userSettingsField;
     }
     set {
        this.userSettingsField = value;
     }
  }

}

/// <remarks>
[System.Xml.Serialization.XmlTypeAttribute( AnonymousType = true )]
public partial class configurationUserSettings {
private configurationUserSettingsSetting[] appCentralAppServiceCorePropertiesSettingsField;

/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute( "AppCentral.App.Service.Core.Properties.Settings" )]
[System.Xml.Serialization.XmlArrayItemAttribute( "setting", IsNullable = false )]
public configurationUserSettingsSetting[] AppCentralAppServiceCorePropertiesSettings {
   get {
      return this.appCentralAppServiceCorePropertiesSettingsField;
   }
   set {
      this.appCentralAppServiceCorePropertiesSettingsField = value;
   }
}

}

/// <remarks>
[System.Xml.Serialization.XmlTypeAttribute( AnonymousType = true )]
public partial class configurationUserSettingsSetting {

private string valueField;

private string nameField;

private string serializeAsField;

/// <remarks>
public string value {
get {
return this.valueField;
}
set {
this.valueField = value;
}
}

/// <remarks>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string name {
get {
return this.nameField;
}
set {
this.nameField = value;
}
}

/// <remarks>
[System.Xml.Serialization.XmlAttributeAttribute()]
public string serializeAs {
get {
return this.serializeAsField;
}
set {
this.serializeAsField = value;
}
}
}

"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal

GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 6:22
Travis Jacobson12-Feb-18 6:22 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Gerry Schmitz12-Feb-18 6:35
mveGerry Schmitz12-Feb-18 6:35 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 7:27
Travis Jacobson12-Feb-18 7:27 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Gerry Schmitz12-Feb-18 7:36
mveGerry Schmitz12-Feb-18 7:36 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 7:57
Travis Jacobson12-Feb-18 7:57 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Gerry Schmitz12-Feb-18 8:03
mveGerry Schmitz12-Feb-18 8:03 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 8:43
Travis Jacobson12-Feb-18 8:43 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
J. Calhoun12-Feb-18 9:17
J. Calhoun12-Feb-18 9:17 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 10:29
Travis Jacobson12-Feb-18 10:29 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
J. Calhoun12-Feb-18 10:44
J. Calhoun12-Feb-18 10:44 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 10:55
Travis Jacobson12-Feb-18 10:55 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
J. Calhoun12-Feb-18 11:06
J. Calhoun12-Feb-18 11:06 
QuestionRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 11:46
Travis Jacobson12-Feb-18 11:46 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 11:48
Travis Jacobson12-Feb-18 11:48 
GeneralRe: C# need help reading XML config file with multiple values in windows forms app Pin
Travis Jacobson12-Feb-18 8:43
Travis Jacobson12-Feb-18 8:43 
AnswerRe: C# need help reading XML config file with multiple values in windows forms app Pin
Dave Kreskowiak12-Feb-18 11:43
mveDave Kreskowiak12-Feb-18 11:43 
QuestionUpdating textbox from derived class c# wpf Pin
Member 1357136412-Feb-18 3:44
Member 1357136412-Feb-18 3:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.