Click here to Skip to main content
15,899,937 members
Home / Discussions / C#
   

C#

 
QuestionRegarding Reflections Pin
ParagGupta17-Oct-06 4:46
ParagGupta17-Oct-06 4:46 
AnswerRe: Regarding Reflections Pin
Anthony Mushrow17-Oct-06 6:04
professionalAnthony Mushrow17-Oct-06 6:04 
AnswerRe: Regarding Reflections Pin
Ed.Poore17-Oct-06 8:14
Ed.Poore17-Oct-06 8:14 
GeneralRe: Regarding Reflections Pin
ParagGupta17-Oct-06 20:57
ParagGupta17-Oct-06 20:57 
GeneralRe: Regarding Reflections Pin
Ed.Poore17-Oct-06 21:16
Ed.Poore17-Oct-06 21:16 
QuestionHow to GetType() a Nullable? Pin
Program.X17-Oct-06 4:13
Program.X17-Oct-06 4:13 
AnswerRe: How to GetType() a Nullable? Pin
Judah Gabriel Himango17-Oct-06 4:52
sponsorJudah Gabriel Himango17-Oct-06 4:52 
GeneralRe: How to GetType() a Nullable? Pin
Program.X17-Oct-06 5:08
Program.X17-Oct-06 5:08 
Correct. It does.

Thats my problem. Completely useless, I thought.

The reason why this is a problem is that we use our own serialisation code (the .NET serializer is not strong enough). So to serialise a value, eg.

_sIte_SchecduledLength=5;

Would become:

<sIte_ScheduledLength>5</sIte_ScheduledLength>

or if it was null ...

<sIte_ScheduledLength xsi:nil="true" />

I am happy enough to serialise like this, but need to know that it was a Nullable<int> when deserializing. And since I can't get the type, to produce something like:

<sIte_ScheduledLength Type="System.Int32">5</sIte_ScheduledLength>

It sort of scuppers my plan.

Thanks for your quick response. I'd be interested if anyone else has run into/solved this problem.

GeneralRe: How to GetType() a Nullable? Pin
Judah Gabriel Himango17-Oct-06 5:20
sponsorJudah Gabriel Himango17-Oct-06 5:20 
GeneralRe: How to GetType() a Nullable? Pin
Program.X17-Oct-06 6:33
Program.X17-Oct-06 6:33 
GeneralRe: How to GetType() a Nullable? Pin
Judah Gabriel Himango17-Oct-06 6:42
sponsorJudah Gabriel Himango17-Oct-06 6:42 
QuestionResolution independent application Pin
Robi-Robo17-Oct-06 3:56
Robi-Robo17-Oct-06 3:56 
AnswerRe: Resolution independent application Pin
Stefan Troschuetz17-Oct-06 4:34
Stefan Troschuetz17-Oct-06 4:34 
AnswerRe: Resolution independent application Pin
Wjousts17-Oct-06 4:35
Wjousts17-Oct-06 4:35 
Questiontab page disable question Pin
rzvme17-Oct-06 3:51
rzvme17-Oct-06 3:51 
AnswerRe: tab page disable question Pin
Thomas Chester17-Oct-06 7:03
Thomas Chester17-Oct-06 7:03 
QuestionMDI child problem... Pin
IamHuM17-Oct-06 3:45
IamHuM17-Oct-06 3:45 
AnswerRe: MDI child problem... Pin
Stefan Troschuetz17-Oct-06 4:18
Stefan Troschuetz17-Oct-06 4:18 
QuestionDataGridViewComboBoxColumn - Setting SelectedIndex Pin
KCI-VA17-Oct-06 3:31
KCI-VA17-Oct-06 3:31 
QuestionProblems with primary key Pin
mrclash88817-Oct-06 3:21
mrclash88817-Oct-06 3:21 
AnswerRe: Problems with primary key Pin
bearfx17-Oct-06 4:19
bearfx17-Oct-06 4:19 
AnswerRe: Problems with primary key Pin
Jim Conigliaro17-Oct-06 4:23
Jim Conigliaro17-Oct-06 4:23 
GeneralRe: Problems with primary key Pin
mrclash88817-Oct-06 4:43
mrclash88817-Oct-06 4:43 
QuestionTerminating multithreaded application Pin
Pseudonaja Cyanide17-Oct-06 3:16
Pseudonaja Cyanide17-Oct-06 3:16 
AnswerRe: Terminating multithreaded application Pin
Stefan Troschuetz17-Oct-06 4:32
Stefan Troschuetz17-Oct-06 4:32 

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.