Click here to Skip to main content
15,881,413 members
Home / Discussions / C#
   

C#

 
GeneralRe: windows service Pin
arkiboys11-Jan-11 4:59
arkiboys11-Jan-11 4:59 
GeneralRe: windows service Pin
Mirko198011-Jan-11 5:32
Mirko198011-Jan-11 5:32 
GeneralRe: windows service Pin
arkiboys11-Jan-11 6:09
arkiboys11-Jan-11 6:09 
GeneralRe: windows service Pin
Mirko198011-Jan-11 6:58
Mirko198011-Jan-11 6:58 
GeneralRe: windows service Pin
arkiboys14-Jan-11 3:23
arkiboys14-Jan-11 3:23 
QuestionWindows Service Screenshot & Remote Control -> WIN 7 and 2008R2 Pin
Neo5432111-Jan-11 0:29
Neo5432111-Jan-11 0:29 
QuestionXML Deserialization Pin
NarVish10-Jan-11 23:09
NarVish10-Jan-11 23:09 
AnswerRe: XML Deserialization PinPopular
Estys10-Jan-11 23:31
Estys10-Jan-11 23:31 
"Name" is not a simple type.
Create a class like this :
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
public partial class CourseInfoName {
    
    private string typeField;
    
    private string valueField;
    
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    [System.Xml.Serialization.XmlTextAttribute()]
    public string Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField = value;
        }
    }
}


In you original class replace m_name and Name by

private CourseInfoName nameField;

[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=true)]
public CourseInfoName Name {
    get {
        return this.nameField;
    }
    set {
        this.nameField = value;
    }
}


Cheers
If you can read this, you don't have Papyrus installed

GeneralRe: XML Deserialization Pin
NarVish11-Jan-11 22:40
NarVish11-Jan-11 22:40 
GeneralRe: XML Deserialization Pin
Estys11-Jan-11 22:47
Estys11-Jan-11 22:47 
Questionglobal vars names Pin
sadas232341s10-Jan-11 23:06
sadas232341s10-Jan-11 23:06 
AnswerRe: global vars names Pin
Pete O'Hanlon10-Jan-11 23:09
mvePete O'Hanlon10-Jan-11 23:09 
AnswerRe: global vars names Pin
OriginalGriff10-Jan-11 23:29
mveOriginalGriff10-Jan-11 23:29 
AnswerRe: global vars names Pin
Luc Pattyn11-Jan-11 2:05
sitebuilderLuc Pattyn11-Jan-11 2:05 
AnswerRe: global vars names Pin
PIEBALDconsult11-Jan-11 2:16
mvePIEBALDconsult11-Jan-11 2:16 
AnswerRe: global vars names Pin
RaviRanjanKr12-Jan-11 4:25
professionalRaviRanjanKr12-Jan-11 4:25 
QuestionListBox control - Freezing one or more rows at top? Pin
AussieLew10-Jan-11 15:44
AussieLew10-Jan-11 15:44 
AnswerRe: ListBox control - Freezing one or more rows at top? Pin
Luc Pattyn10-Jan-11 17:56
sitebuilderLuc Pattyn10-Jan-11 17:56 
QuestionYearly Calendar Pin
Ali Al Omairi(Abu AlHassan)10-Jan-11 8:40
professionalAli Al Omairi(Abu AlHassan)10-Jan-11 8:40 
AnswerRe: Yearly Calendar Pin
Dalek Dave10-Jan-11 8:56
professionalDalek Dave10-Jan-11 8:56 
GeneralRe: Yearly Calendar Pin
Ali Al Omairi(Abu AlHassan)10-Jan-11 9:13
professionalAli Al Omairi(Abu AlHassan)10-Jan-11 9:13 
GeneralRe: Yearly Calendar Pin
Dalek Dave10-Jan-11 9:42
professionalDalek Dave10-Jan-11 9:42 
GeneralRe: Yearly Calendar Pin
Ali Al Omairi(Abu AlHassan)10-Jan-11 9:48
professionalAli Al Omairi(Abu AlHassan)10-Jan-11 9:48 
AnswerRe: Yearly Calendar Pin
Henry Minute10-Jan-11 11:17
Henry Minute10-Jan-11 11:17 
GeneralRe: Yearly Calendar Pin
Ali Al Omairi(Abu AlHassan)10-Jan-11 11:30
professionalAli Al Omairi(Abu AlHassan)10-Jan-11 11:30 

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.