Click here to Skip to main content
15,890,845 members
Home / Discussions / C#
   

C#

 
QuestionXML Serialization Pin
Arshad_Ebrahim11-Oct-05 1:45
Arshad_Ebrahim11-Oct-05 1:45 
AnswerRe: XML Serialization Pin
XRaheemX11-Oct-05 3:37
XRaheemX11-Oct-05 3:37 
GeneralRe: XML Serialization Pin
Arshad_Ebrahim11-Oct-05 3:53
Arshad_Ebrahim11-Oct-05 3:53 
GeneralRe: XML Serialization Pin
XRaheemX11-Oct-05 3:59
XRaheemX11-Oct-05 3:59 
GeneralRe: XML Serialization Pin
Arshad_Ebrahim11-Oct-05 4:09
Arshad_Ebrahim11-Oct-05 4:09 
GeneralRe: XML Serialization Pin
XRaheemX11-Oct-05 4:19
XRaheemX11-Oct-05 4:19 
GeneralRe: XML Serialization Pin
Arshad_Ebrahim11-Oct-05 4:23
Arshad_Ebrahim11-Oct-05 4:23 
GeneralRe: XML Serialization Pin
XRaheemX11-Oct-05 4:45
XRaheemX11-Oct-05 4:45 
Ahhh that makes sense. Well, just out of curiosity, did you do exactly what the error tells you to do? It's not done in the example you pasted. Add the XmlChoiceIdentifierAttribute to the InputValue member See below:

<code>
        public class InputDetail
	{
		[System.Xml.Serialization.XmlElementAttribute(IsNullable=true)]
		[System.Xml.Serialization.XmlElementAttribute(DataType="nonNegativeInteger")]
		[System.Xml.Serialization.XmlChoiceIdentifierAttribute]
		public int InputValue;

		public InputDetail()
		{
		}
	}
</code>

GeneralRe: XML Serialization Pin
Arshad_Ebrahim11-Oct-05 20:25
Arshad_Ebrahim11-Oct-05 20:25 
GeneralRe: XML Serialization Pin
XRaheemX12-Oct-05 3:17
XRaheemX12-Oct-05 3:17 
QuestionConnecting Sqlserver 2000 from Visual Studio 2005 C# editor Pin
Zapss11-Oct-05 1:37
Zapss11-Oct-05 1:37 
QuestionA good C# book recomendation Pin
ddmcr11-Oct-05 1:29
ddmcr11-Oct-05 1:29 
AnswerRe: A good C# book recomendation Pin
Dave Doknjas11-Oct-05 15:58
Dave Doknjas11-Oct-05 15:58 
GeneralRe: A good C# book recomendation Pin
ddmcr11-Oct-05 23:17
ddmcr11-Oct-05 23:17 
QuestionHow to find IP Address Pin
A.Grover10-Oct-05 22:45
A.Grover10-Oct-05 22:45 
AnswerRe: How to find IP Address Pin
mav.northwind10-Oct-05 23:41
mav.northwind10-Oct-05 23:41 
Questionaccess a public folder Pin
Member 234850210-Oct-05 21:47
Member 234850210-Oct-05 21:47 
AnswerRe: access a public folder Pin
Dave Kreskowiak11-Oct-05 5:05
mveDave Kreskowiak11-Oct-05 5:05 
AnswerRe: access a public folder Pin
dtaylor73011-Oct-05 8:43
dtaylor73011-Oct-05 8:43 
QuestionSecurity Permissions Pin
akshayswaroop10-Oct-05 21:09
akshayswaroop10-Oct-05 21:09 
AnswerRe: Security Permissions Pin
Dave Kreskowiak11-Oct-05 4:56
mveDave Kreskowiak11-Oct-05 4:56 
Questionwhere these radio buttons come from? Pin
Behazin10-Oct-05 20:17
Behazin10-Oct-05 20:17 
AnswerRe: where these radio buttons come from? Pin
Vasudevan Deepak Kumar10-Oct-05 21:37
Vasudevan Deepak Kumar10-Oct-05 21:37 
QuestionListView problems Pin
Mridang Agarwalla10-Oct-05 19:50
Mridang Agarwalla10-Oct-05 19:50 
AnswerRe: ListView problems Pin
_mubashir10-Oct-05 23:30
_mubashir10-Oct-05 23: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.