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

C#

 
AnswerRe: code Pin
Lutosław21-Aug-07 1:00
Lutosław21-Aug-07 1:00 
GeneralRe: code Pin
help as an alias21-Aug-07 1:08
help as an alias21-Aug-07 1:08 
QuestionHow to insert objects to a section in crystal report dynamically? Pin
getnanda@gmail.com20-Aug-07 18:10
getnanda@gmail.com20-Aug-07 18:10 
AnswerRe: How to insert objects to a section in crystal report dynamically? Pin
help as an alias20-Aug-07 18:23
help as an alias20-Aug-07 18:23 
GeneralRe: How to insert objects to a section in crystal report dynamically? Pin
getnanda@gmail.com20-Aug-07 18:27
getnanda@gmail.com20-Aug-07 18:27 
GeneralRe: How to insert objects to a section in crystal report dynamically? Pin
help as an alias21-Aug-07 1:17
help as an alias21-Aug-07 1:17 
Questiondeclaring xmlserializer where typeof is a class derived from arraylist Pin
cyn820-Aug-07 18:04
cyn820-Aug-07 18:04 
AnswerRe: declaring xmlserializer where typeof is a class derived from arraylist Pin
Hessam Jalali20-Aug-07 23:03
Hessam Jalali20-Aug-07 23:03 
Hi cyn8

At first I couldn't understand why you derived MyData from ArrayList !!

and the problem :

it is one of the boring and annoying one.I tested and my brain was going to blown (thank god for saving me) it seems it happens because xmlSerializer can just serialize public class,and it's public memebers no more no less

here is a few things must be paid attention for xml serializtion

1-your class must be public
2-your class must have parameterless constructor
3-all members are chosen must be public and if they are property type they must have both get and set
4-if your class would be embedded in another class Xml in serialization the embedded class must have XmlInclude Attribute or in the outer class type of inner class must be passed through
(another way is pass it's type throught XmlSerializer constructor in extraTypes argument but I'm not sure it works well)

hope the post would be useful

good luck Smile | :)
AnswerRe: declaring xmlserializer where typeof is a class derived from arraylist Pin
Hessam Jalali20-Aug-07 23:11
Hessam Jalali20-Aug-07 23:11 
GeneralRe: declaring xmlserializer where typeof is a class derived from arraylist [modified] Pin
cyn821-Aug-07 17:01
cyn821-Aug-07 17:01 
GeneralRe: declaring xmlserializer where typeof is a class derived from arraylist Pin
Hessam Jalali22-Aug-07 0:22
Hessam Jalali22-Aug-07 0:22 
GeneralRe: declaring xmlserializer where typeof is a class derived from arraylist Pin
cyn822-Aug-07 0:29
cyn822-Aug-07 0:29 
GeneralRe: declaring xmlserializer where typeof is a class derived from arraylist Pin
Hessam Jalali22-Aug-07 3:21
Hessam Jalali22-Aug-07 3:21 
GeneralRe: declaring xmlserializer where typeof is a class derived from arraylist [modified] Pin
cyn822-Aug-07 21:48
cyn822-Aug-07 21:48 
GeneralRe: declaring xmlserializer where typeof is a class derived from arraylist Pin
Hessam Jalali23-Aug-07 2:15
Hessam Jalali23-Aug-07 2:15 
GeneralRe: declaring xmlserializer where typeof is a class derived from arraylist Pin
cyn823-Aug-07 16:29
cyn823-Aug-07 16:29 
GeneralRe: declaring xmlserializer where typeof is a class derived from arraylist Pin
Hessam Jalali23-Aug-07 23:47
Hessam Jalali23-Aug-07 23:47 
QuestionHow to "ping" command on Mono by C#? Pin
bug_aonz20-Aug-07 17:49
bug_aonz20-Aug-07 17:49 
AnswerRe: How to "ping" command on Mono by C#? Pin
Vasudevan Deepak Kumar20-Aug-07 21:32
Vasudevan Deepak Kumar20-Aug-07 21:32 
GeneralRe: How to "ping" command on Mono by C#? Pin
bug_aonz21-Aug-07 16:44
bug_aonz21-Aug-07 16:44 
QuestionInstalled software List Pin
Jeeva Jose20-Aug-07 17:15
Jeeva Jose20-Aug-07 17:15 
AnswerRe: Installed software List Pin
Scott Dorman20-Aug-07 17:24
professionalScott Dorman20-Aug-07 17:24 
QuestionC# and MATLAB Pin
TriBerryPowerBar20-Aug-07 15:17
TriBerryPowerBar20-Aug-07 15:17 
AnswerRe: C# and MATLAB Pin
Scott Dorman20-Aug-07 17:23
professionalScott Dorman20-Aug-07 17:23 
QuestionUpdater block - downloading updates from a server Pin
steve_rm20-Aug-07 11:33
steve_rm20-Aug-07 11:33 

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.