Click here to Skip to main content
15,893,594 members
Home / Discussions / C#
   

C#

 
QuestionFormBorderStyle Pin
netJP12L28-Jul-08 6:41
netJP12L28-Jul-08 6:41 
AnswerRe: FormBorderStyle Pin
Luc Pattyn28-Jul-08 6:47
sitebuilderLuc Pattyn28-Jul-08 6:47 
Questiondisplay records between a date range Pin
Reality Strikes28-Jul-08 6:09
Reality Strikes28-Jul-08 6:09 
AnswerRe: display records between a date range Pin
Luc Pattyn28-Jul-08 6:26
sitebuilderLuc Pattyn28-Jul-08 6:26 
GeneralRe: display records between a date range Pin
Reality Strikes28-Jul-08 7:12
Reality Strikes28-Jul-08 7:12 
GeneralRe: display records between a date range Pin
Luc Pattyn28-Jul-08 7:29
sitebuilderLuc Pattyn28-Jul-08 7:29 
GeneralRe: display records between a date range Pin
Reality Strikes28-Jul-08 7:45
Reality Strikes28-Jul-08 7:45 
GeneralRe: display records between a date range [modified] Pin
Luc Pattyn28-Jul-08 8:03
sitebuilderLuc Pattyn28-Jul-08 8:03 
Hi,

if you have numeric values for year, month and day, you can create a new DateTime() instance
with the corresponding value DateTime dt=new DateTime(year, month, day);

[ADDED] If all you have is a datelike string, then you can try and extract a DateTime from it
using DateTime.Parse(), DateTime.ParseExact() or DateTime.TryParse().[/ADDED]

And when you have two DateTime instances you can compare them with the comparison operators
such as < and == and >

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


modified on Monday, July 28, 2008 2:21 PM

AnswerRe: display records between a date range Pin
User 665828-Jul-08 8:44
User 665828-Jul-08 8:44 
GeneralRe: display records between a date range Pin
Luc Pattyn28-Jul-08 8:55
sitebuilderLuc Pattyn28-Jul-08 8:55 
GeneralRe: display records between a date range Pin
Reality Strikes29-Jul-08 4:03
Reality Strikes29-Jul-08 4:03 
QuestionBest way to use Dispose / IDisposable - no unmanaged code Pin
DaveyM6928-Jul-08 4:56
professionalDaveyM6928-Jul-08 4:56 
AnswerRe: Best way to use Dispose / IDisposable - no unmanaged code Pin
Simon P Stevens28-Jul-08 5:01
Simon P Stevens28-Jul-08 5:01 
GeneralRe: Best way to use Dispose / IDisposable - no unmanaged code Pin
DaveyM6928-Jul-08 5:06
professionalDaveyM6928-Jul-08 5:06 
GeneralRe: Best way to use Dispose / IDisposable - no unmanaged code Pin
Simon P Stevens28-Jul-08 5:13
Simon P Stevens28-Jul-08 5:13 
GeneralRe: Best way to use Dispose / IDisposable - no unmanaged code : Solved Pin
DaveyM6928-Jul-08 5:19
professionalDaveyM6928-Jul-08 5:19 
GeneralRe: Best way to use Dispose / IDisposable - no unmanaged code : Solved Pin
Simon P Stevens28-Jul-08 5:28
Simon P Stevens28-Jul-08 5:28 
AnswerRe: Best way to use Dispose / IDisposable - no unmanaged code Pin
Paul Conrad28-Jul-08 5:37
professionalPaul Conrad28-Jul-08 5:37 
QuestionConnecting to word without ROT. Pin
Green Fuze28-Jul-08 3:54
Green Fuze28-Jul-08 3:54 
AnswerRe: Connecting to word without ROT. Pin
Green Fuze28-Jul-08 5:35
Green Fuze28-Jul-08 5:35 
QuestionLock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 3:31
thoru28-Jul-08 3:31 
AnswerRe: Lock a file for reading when uploading it to FTP Pin
Wendelius28-Jul-08 3:37
mentorWendelius28-Jul-08 3:37 
AnswerRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 3:45
sitebuilderLuc Pattyn28-Jul-08 3:45 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 3:56
thoru28-Jul-08 3:56 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 4:09
sitebuilderLuc Pattyn28-Jul-08 4:09 

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.