Click here to Skip to main content
15,901,035 members
Home / Discussions / C#
   

C#

 
QuestionOffice 2007 Toolbar Ribbon Pin
cecildt4-Jul-06 20:56
cecildt4-Jul-06 20:56 
QuestionXML Includes in C# code Pin
urbane.tiger4-Jul-06 20:50
urbane.tiger4-Jul-06 20:50 
QuestionDataGrid to Excel in Windows app. Pin
SysJey4-Jul-06 20:33
SysJey4-Jul-06 20:33 
AnswerRe: DataGrid to Excel in Windows app. Pin
Chetan Ranpariya4-Jul-06 21:11
Chetan Ranpariya4-Jul-06 21:11 
AnswerRe: DataGrid to Excel in Windows app. Pin
Azoli5-Jul-06 20:25
Azoli5-Jul-06 20:25 
GeneralRe: DataGrid to Excel in Windows app. Pin
Azoli5-Jul-06 20:48
Azoli5-Jul-06 20:48 
QuestionDisplay UI controls in Datagrid cell (Its urget pls) Pin
Kais4U4-Jul-06 20:11
Kais4U4-Jul-06 20:11 
QuestionSerialization with different Class-Versions Pin
Tomerland4-Jul-06 20:09
Tomerland4-Jul-06 20:09 
Dear gurus,

I am de/serializing objects with Serializers (e.g. XmlSerializer). It works just fine.

But each time if I add any attribute to my classes which I serialize (let's say I update my class to a new version) , then the appropriate serializer is not able to deserialize my classes. This behaviour is clear to me of course.

But how can I improve this behaviour?

My Idea with deserializing is the following:
1) Extend the class which has to be de/serialized with a version-info-tag
2) Before deserializing, read the version-info first from file
3) Dependent on this version, decide which Version of the class to use for deserialization
4) Read the file (deserialize) now with the right class-version


Can somebody help me with this topic?


Thanks a lot in advance

-- modified at 3:59 Wednesday 5th July, 2006
QuestionDebug ActiveX control from C# application [modified] Pin
Maddie from Dartford4-Jul-06 19:58
Maddie from Dartford4-Jul-06 19:58 
QuestionHow to apply certain commands during installation [modified] Pin
Kamran Younus4-Jul-06 19:32
Kamran Younus4-Jul-06 19:32 
Question3 Tier Architecture Code Pin
bml36224-Jul-06 19:12
bml36224-Jul-06 19:12 
AnswerRe: 3 Tier Architecture Code Pin
Praveen Nayak4-Jul-06 22:14
Praveen Nayak4-Jul-06 22:14 
GeneralClickety Police Pin
Colin Angus Mackay4-Jul-06 22:20
Colin Angus Mackay4-Jul-06 22:20 
QuestionPurpose of boxing and unboxing? Pin
Anthony Potts4-Jul-06 18:14
Anthony Potts4-Jul-06 18:14 
AnswerRe: Purpose of boxing and unboxing? Pin
Guffa4-Jul-06 19:02
Guffa4-Jul-06 19:02 
QuestionHow to register .NET assembly Pin
Duong Tien Nam4-Jul-06 17:30
Duong Tien Nam4-Jul-06 17:30 
AnswerRe: How to register .NET assembly Pin
S. Senthil Kumar4-Jul-06 19:18
S. Senthil Kumar4-Jul-06 19:18 
Questionmultiselection of month calendar Pin
toink toink4-Jul-06 15:59
toink toink4-Jul-06 15:59 
AnswerRe: multiselection of month calendar Pin
mav.northwind4-Jul-06 19:46
mav.northwind4-Jul-06 19:46 
Questionplease help Pin
omar el halwagy4-Jul-06 14:35
omar el halwagy4-Jul-06 14:35 
AnswerRe: please help Pin
J4amieC4-Jul-06 22:00
J4amieC4-Jul-06 22:00 
Questionenmurator Pin
omar el halwagy4-Jul-06 14:32
omar el halwagy4-Jul-06 14:32 
AnswerRe: enmurator Pin
Robert Rohde4-Jul-06 16:24
Robert Rohde4-Jul-06 16:24 
AnswerRe: enmurator Pin
BoneSoft5-Jul-06 3:50
BoneSoft5-Jul-06 3:50 
QuestionSocket Disconnect Exception Pin
İsmail Durmaz4-Jul-06 12:16
İsmail Durmaz4-Jul-06 12:16 

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.