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

C#

 
GeneralRe: Setup and Deployment Issue! Pin
Keith Barrow16-Dec-09 9:10
professionalKeith Barrow16-Dec-09 9:10 
GeneralRe: Setup and Deployment Issue! Pin
Sr...Frank16-Dec-09 9:16
Sr...Frank16-Dec-09 9:16 
GeneralRe: Setup and Deployment Issue! Pin
Seishin#16-Dec-09 9:31
Seishin#16-Dec-09 9:31 
GeneralRe: Setup and Deployment Issue! Pin
Sr...Frank16-Dec-09 9:50
Sr...Frank16-Dec-09 9:50 
QuestionMoving from validation function to validation read only Property Pin
abcurl16-Dec-09 3:45
abcurl16-Dec-09 3:45 
AnswerRe: Moving from validation function to validation read only Property Pin
Richard MacCutchan16-Dec-09 7:33
mveRichard MacCutchan16-Dec-09 7:33 
AnswerRe: Moving from validation function to validation read only Property Pin
Luc Pattyn16-Dec-09 7:41
sitebuilderLuc Pattyn16-Dec-09 7:41 
Questiondates and databases Pin
Ryan Minor16-Dec-09 3:37
Ryan Minor16-Dec-09 3:37 
Hi there

I am building some database layer code and trying to be as database independent as possible.

One peeve is datetimes.

Does it make sense to avoid the use of the datetime objects provided by the database provider altogether and use a double field? Then use persist the dates to the double field using the DateTime.ToOADate method?

It seems to me then that I could easily do date comparisons such as "retrieve rows where date > <date>" where the <date> is converted to OA?
AnswerRe: dates and databases Pin
Pete O'Hanlon16-Dec-09 3:44
mvePete O'Hanlon16-Dec-09 3:44 
GeneralRe: dates and databases Pin
Luc Pattyn16-Dec-09 7:49
sitebuilderLuc Pattyn16-Dec-09 7:49 
GeneralRe: dates and databases Pin
Ravi Bhavnani16-Dec-09 8:23
professionalRavi Bhavnani16-Dec-09 8:23 
GeneralRe: dates and databases Pin
Pete O'Hanlon16-Dec-09 9:34
mvePete O'Hanlon16-Dec-09 9:34 
GeneralRe: dates and databases Pin
Luc Pattyn16-Dec-09 9:47
sitebuilderLuc Pattyn16-Dec-09 9:47 
GeneralRe: dates and databases Pin
PIEBALDconsult16-Dec-09 10:37
mvePIEBALDconsult16-Dec-09 10:37 
GeneralRe: dates and databases Pin
Pete O'Hanlon16-Dec-09 11:16
mvePete O'Hanlon16-Dec-09 11:16 
GeneralRe: dates and databases Pin
Luc Pattyn16-Dec-09 11:26
sitebuilderLuc Pattyn16-Dec-09 11:26 
GeneralRe: dates and databases Pin
Pete O'Hanlon16-Dec-09 11:33
mvePete O'Hanlon16-Dec-09 11:33 
GeneralRe: dates and databases Pin
Luc Pattyn16-Dec-09 11:48
sitebuilderLuc Pattyn16-Dec-09 11:48 
AnswerRe: dates and databases Pin
PIEBALDconsult16-Dec-09 3:45
mvePIEBALDconsult16-Dec-09 3:45 
GeneralRe: dates and databases Pin
Luc Pattyn16-Dec-09 10:46
sitebuilderLuc Pattyn16-Dec-09 10:46 
GeneralRe: dates and databases Pin
PIEBALDconsult16-Dec-09 11:57
mvePIEBALDconsult16-Dec-09 11:57 
AnswerRe: dates and databases Pin
David Skelly16-Dec-09 22:39
David Skelly16-Dec-09 22:39 
QuestionA network-related or instance-specific error occurred while establishing a connection to SQL Server Pin
Tridip Bhattacharjee16-Dec-09 2:00
professionalTridip Bhattacharjee16-Dec-09 2:00 
AnswerRe: A network-related or instance-specific error occurred while establishing a connection to SQL Server Pin
#realJSOP16-Dec-09 2:52
professional#realJSOP16-Dec-09 2:52 
QuestionHow can I deploy an application using VISIFIRE Pin
cutudi16-Dec-09 1:57
cutudi16-Dec-09 1:57 

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.