Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
GeneralRe: Pocket PC Pin
Antony M Kancidrowski30-Mar-06 0:43
Antony M Kancidrowski30-Mar-06 0:43 
QuestionRe: Pocket PC Pin
wezaya17-Jun-06 15:34
wezaya17-Jun-06 15:34 
AnswerRe: Pocket PC Pin
Antony M Kancidrowski18-Jun-06 6:04
Antony M Kancidrowski18-Jun-06 6:04 
Question.NET multi-inheritance? Pin
hung_ngole29-Mar-06 23:39
hung_ngole29-Mar-06 23:39 
AnswerRe: .NET multi-inheritance? Pin
Antony M Kancidrowski30-Mar-06 0:01
Antony M Kancidrowski30-Mar-06 0:01 
GeneralRe: .NET multi-inheritance? Pin
hung_ngole30-Mar-06 0:30
hung_ngole30-Mar-06 0:30 
GeneralRe: .NET multi-inheritance? Pin
Antony M Kancidrowski30-Mar-06 0:39
Antony M Kancidrowski30-Mar-06 0:39 
QuestionOLE Automation date time in C# (.NET 2.0) and MSDE databases Pin
Antony M Kancidrowski29-Mar-06 23:11
Antony M Kancidrowski29-Mar-06 23:11 
I'm fairly new to C# and .NET (I have not done anything before .NET 2.0) so please bare with me.

It appears that the epoch for System.DateTime within .NET 2.0 is 30/12/1899 where as the epoch for smalldatetime within MSDE (v8 stuffs) is 1/1/1900.

Therefore when using the ToOADate() method the value returned is 2 days out (i.e. 2.0 greater than the value I ought to be passing to the database)

I know I can adjust the value so that the difference is taken into account but I was wondering whether this is a mistake introduced in .NET 2.0 or is a known difference that we need to accommodate for.

Thanks for your time

Ant.

I'm hard, yet soft.
I'm coloured, yet clear.
I'm fruity and sweet.
I'm jelly, what am I? Muse on it further, I shall return!
- David Walliams (Little Britain)

QuestionApplication password storage Pin
angusmax29-Mar-06 22:59
angusmax29-Mar-06 22:59 
AnswerRe: Application password storage Pin
Antony M Kancidrowski29-Mar-06 23:14
Antony M Kancidrowski29-Mar-06 23:14 
GeneralRe: Application password storage Pin
angusmax30-Mar-06 1:58
angusmax30-Mar-06 1:58 
GeneralRe: Application password storage Pin
Mridang Agarwalla30-Mar-06 6:41
Mridang Agarwalla30-Mar-06 6:41 
QuestionInterface classes Pin
sosodev29-Mar-06 22:57
sosodev29-Mar-06 22:57 
AnswerRe: Interface classes Pin
Le centriste30-Mar-06 4:02
Le centriste30-Mar-06 4:02 
QuestionCrystal Report Pin
angelagke29-Mar-06 22:35
angelagke29-Mar-06 22:35 
QuestionHow getting Proc-ID of concerning apps and it's subapps ? Pin
fracalifa29-Mar-06 22:31
fracalifa29-Mar-06 22:31 
AnswerRe: How getting Proc-ID of concerning apps and it's subapps ? Pin
Antony M Kancidrowski29-Mar-06 23:24
Antony M Kancidrowski29-Mar-06 23:24 
GeneralRe: How getting Proc-ID of concerning apps and it's subapps ? Pin
fracalifa30-Mar-06 1:10
fracalifa30-Mar-06 1:10 
QuestionHyperTerminal Pin
B I Khan29-Mar-06 21:55
B I Khan29-Mar-06 21:55 
QuestionUse a rubber onto image Pin
Sasuko29-Mar-06 21:51
Sasuko29-Mar-06 21:51 
Questionhow to draw a half of circle and fill it ? Pin
hdv21229-Mar-06 21:33
hdv21229-Mar-06 21:33 
AnswerRe: how to draw a half of circle and fill it ? Pin
V.29-Mar-06 22:11
professionalV.29-Mar-06 22:11 
QuestionWeb Projects Deployment Pin
Fendefa29-Mar-06 21:25
Fendefa29-Mar-06 21:25 
QuestionRelease resources in Forms Pin
hpetriffer29-Mar-06 20:45
hpetriffer29-Mar-06 20:45 
AnswerRe: Release resources in Forms Pin
Nicholas Butler29-Mar-06 22:25
sitebuilderNicholas Butler29-Mar-06 22:25 

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.