Click here to Skip to main content
16,005,060 members
Home / Discussions / C#
   

C#

 
AnswerRe: Please, I want program to solve numerical Analysis Equations ! Pin
0x3c025-Mar-09 6:26
0x3c025-Mar-09 6:26 
GeneralRe: Please, I want program to solve numerical Analysis Equations ! Pin
Kh.Taheri4-Feb-17 14:06
Kh.Taheri4-Feb-17 14:06 
AnswerRe: Please, I want program to solve numerical Analysis Equations ! Pin
CPallini25-Mar-09 8:13
mveCPallini25-Mar-09 8:13 
GeneralRe: Please, I want program to solve numerical Analysis Equations ! Pin
Kh.Taheri4-Feb-17 14:03
Kh.Taheri4-Feb-17 14:03 
GeneralRe: Please, I want program to solve numerical Analysis Equations ! Pin
CPallini4-Feb-17 23:08
mveCPallini4-Feb-17 23:08 
AnswerRe: Please, I want program to solve numerical Analysis Equations ! Pin
Henry Minute25-Mar-09 11:36
Henry Minute25-Mar-09 11:36 
GeneralRe: Please, I want program to solve numerical Analysis Equations ! Pin
Kh.Taheri4-Feb-17 14:02
Kh.Taheri4-Feb-17 14:02 
QuestionXML Serialization [Resolved] Pin
Dan Neely25-Mar-09 4:19
Dan Neely25-Mar-09 4:19 

Edit:

Solved: The problem was caused by my renaming the autogenerated class.


I'm converting a project from VS2k3 to 2k8. The old version had a number of classes generated by the XSD tool (part of the SDK) that are just collections of public data members to serialize to XML. For each of these classes there was a wrapper class that stored the data class as a member and then added a number of basic manipulation methods.

As part of the upgrade, I've recreated the data classes with the 2.0 framework's version of the XSD tool (3/3.5 don't have one) which creates a partial class. I'm trying to simplify the class structure by turning the wrapper into a partial class as well and combining them. What I've done was to rename the autogenerated class to the name of the wrapper and then fixed all the calling locations (changed wrapper.xmlclass.property to wrapper.property). This compiles fine, but fails when I attempt to deserialize an xml file (this did work fine with the new xml class but before I attempted to combine it with the wrapper).


Since I've never done any manual serialization before, what am I doing wrong here? The former wrapper class doesn't add any data members (it's just a collection of methods).

Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall

modified on Wednesday, March 25, 2009 11:37 AM

AnswerRe: XML Serialization Pin
Dan Neely25-Mar-09 5:21
Dan Neely25-Mar-09 5:21 
QuestionCreate save class Pin
abbd25-Mar-09 4:10
abbd25-Mar-09 4:10 
AnswerRe: Create save class Pin
Le centriste25-Mar-09 4:30
Le centriste25-Mar-09 4:30 
GeneralRe: Create save class Pin
Deresen25-Mar-09 4:37
Deresen25-Mar-09 4:37 
GeneralRe: Create save class Pin
abbd25-Mar-09 4:47
abbd25-Mar-09 4:47 
AnswerRe: Create save class Pin
Deresen25-Mar-09 4:37
Deresen25-Mar-09 4:37 
AnswerRe: Create save class Pin
Rutvik Dave25-Mar-09 4:39
professionalRutvik Dave25-Mar-09 4:39 
GeneralRe: Create save class Pin
abbd25-Mar-09 4:49
abbd25-Mar-09 4:49 
Questionlocalization control Pin
vipulpopli25-Mar-09 4:04
vipulpopli25-Mar-09 4:04 
QuestionRetrieving data from VARBINARY (ADO.net) Pin
Jacob Dixon25-Mar-09 4:03
Jacob Dixon25-Mar-09 4:03 
AnswerRe: Retrieving data from VARBINARY (ADO.net) Pin
PIEBALDconsult25-Mar-09 5:10
mvePIEBALDconsult25-Mar-09 5:10 
GeneralRe: Retrieving data from VARBINARY (ADO.net) Pin
Jacob Dixon25-Mar-09 5:13
Jacob Dixon25-Mar-09 5:13 
Questionsave a jpg as 8 bit grayscal Pin
cmarmr25-Mar-09 3:17
cmarmr25-Mar-09 3:17 
AnswerRe: save a jpg as 8 bit grayscal Pin
Deresen25-Mar-09 3:43
Deresen25-Mar-09 3:43 
Questionhi Pin
mon***z25-Mar-09 2:50
mon***z25-Mar-09 2:50 
AnswerRe: hi Pin
Xmen Real 25-Mar-09 3:10
professional Xmen Real 25-Mar-09 3:10 
AnswerRe: hi Pin
Deresen25-Mar-09 3:11
Deresen25-Mar-09 3:11 

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.