Click here to Skip to main content
15,881,709 members
Home / Discussions / C#
   

C#

 
GeneralOne Line Pin
eggie54-Jan-04 12:29
eggie54-Jan-04 12:29 
GeneralRe: One Line Pin
Christian Graus4-Jan-04 12:58
protectorChristian Graus4-Jan-04 12:58 
GeneralRe: One Line Pin
eggie54-Jan-04 13:01
eggie54-Jan-04 13:01 
GeneralRe: One Line Pin
Christian Graus4-Jan-04 13:06
protectorChristian Graus4-Jan-04 13:06 
GeneralRe: One Line Pin
eggie54-Jan-04 13:42
eggie54-Jan-04 13:42 
GeneralRe: One Line Pin
Heath Stewart4-Jan-04 18:51
protectorHeath Stewart4-Jan-04 18:51 
GeneralRe: One Line Pin
eggie55-Jan-04 11:51
eggie55-Jan-04 11:51 
QuestionDateTime Property, custom TypeConverter for XmlSerialisation ? Pin
Chris Richner4-Jan-04 11:56
Chris Richner4-Jan-04 11:56 
Hi,

my class has a DateTime property. I would like to use the XmlSerializer and the DateTime Property should be written in RFC 822 format.

I guessed i can implement a typeconverter which can convert between DateTime and string (RFC822). But it seems like my typeconverter is never called.

C#
[System.ComponentModel.TypeConverter(typeof(DateTimeRFCConverter))]
public DateTime PubDate
{get;set;}


is my idea basically wrong or did i missed something? Why use the XmlSerializer the DateTime typeconverter instead of my TypeConverter?

Thanks

.:[Greetz from Jerry Maguire]:.
AnswerRe: DateTime Property, custom TypeConverter for XmlSerialisation ? Pin
Heath Stewart4-Jan-04 18:46
protectorHeath Stewart4-Jan-04 18:46 
GeneralRe: DateTime Property, custom TypeConverter for XmlSerialisation ? Pin
Chris Richner4-Jan-04 20:11
Chris Richner4-Jan-04 20:11 
GeneralRe: DateTime Property, custom TypeConverter for XmlSerialisation ? Pin
Heath Stewart5-Jan-04 4:03
protectorHeath Stewart5-Jan-04 4:03 
GeneralRe: DateTime Property, custom TypeConverter for XmlSerialisation ? Pin
Chris Richner5-Jan-04 5:55
Chris Richner5-Jan-04 5:55 
GeneralRe: DateTime Property, custom TypeConverter for XmlSerialisation ? Pin
Heath Stewart5-Jan-04 6:00
protectorHeath Stewart5-Jan-04 6:00 
GeneralRe: DateTime Property, custom TypeConverter for XmlSerialisation ? Pin
Chris Richner5-Jan-04 8:52
Chris Richner5-Jan-04 8:52 
GeneralRe: DateTime Property, custom TypeConverter for XmlSerialisation ? Pin
Heath Stewart5-Jan-04 9:53
protectorHeath Stewart5-Jan-04 9:53 
GeneralList of ODBC DSN's Pin
webdudeIA4-Jan-04 10:53
webdudeIA4-Jan-04 10:53 
GeneralRe: List of ODBC DSN's Pin
Nick Parker4-Jan-04 11:25
protectorNick Parker4-Jan-04 11:25 
GeneralRe: List of ODBC DSN's Pin
webdudeIA4-Jan-04 13:18
webdudeIA4-Jan-04 13:18 
GeneralRe: List of ODBC DSN's Pin
Nick Parker4-Jan-04 16:52
protectorNick Parker4-Jan-04 16:52 
GeneralRe: List of ODBC DSN's Pin
cjengler5-Jan-04 2:25
cjengler5-Jan-04 2:25 
GeneralBig Problem with multicasting. Pin
HAHAHA_NEXT4-Jan-04 10:48
HAHAHA_NEXT4-Jan-04 10:48 
GeneralRe: Big Problem with multicasting. Pin
leppie4-Jan-04 11:12
leppie4-Jan-04 11:12 
GeneralRe: Big Problem with multicasting. Pin
HAHAHA_NEXT4-Jan-04 16:13
HAHAHA_NEXT4-Jan-04 16:13 
GeneralRe: Big Problem with multicasting. Pin
Heath Stewart4-Jan-04 18:22
protectorHeath Stewart4-Jan-04 18:22 
GeneralRe: Big Problem with multicasting. Pin
leppie5-Jan-04 6:24
leppie5-Jan-04 6:24 

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.