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

C#

 
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 
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 
I totally agree with what you guys are saying, but please let me know whether I can use the SELECT statement on DataSet the same way as we use on Database tables coz I don't have the datefield in database table, its only the newly created DataSet which is holding the DateField.

Let's say, the code goes like this :

DataColumn dCol = new DataColumn(newPDS.Tables[0].Columns.Add("ADM_DATE", typeof(String)).ToString());
for(Int32 i = 0; i < newPDS.Tables[0].Rows.Count; i++)
{
	DataRow row = newPDS.Tables[0].Rows[i];

	row["ADM_DATE"] = row["CADMMM"].ToString() + "/" + row["CADMDD"].ToString() + "/" + row["CADMHH"].ToString() + row["CADMYY"].ToString();
}


Now its the newPDS DataSet, which is having the DateField. So, now please tell me a way to apply the date range thing within this piece of code. (Date range from Form is entered in 2 Textboxes as START_DATE and END_DATE in the format of DD/MM/YYYY.

THANKS
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 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 4:16
thoru28-Jul-08 4:16 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 4:28
sitebuilderLuc Pattyn28-Jul-08 4:28 
QuestionDetermining valid moves for a chess game Pin
Gareth H28-Jul-08 3:00
Gareth H28-Jul-08 3:00 

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.