Click here to Skip to main content
15,914,413 members
Home / Discussions / C#
   

C#

 
GeneralRe: Encrypting & decrypta txt file Pin
robbrad26-Jan-10 3:16
robbrad26-Jan-10 3:16 
Questionconvert problem ! Pin
miss YY14-Dec-09 20:35
miss YY14-Dec-09 20:35 
AnswerRe: convert problem ! Pin
Blue_Boy14-Dec-09 21:00
Blue_Boy14-Dec-09 21:00 
AnswerRe: convert problem ! Pin
Shorgov14-Dec-09 21:02
Shorgov14-Dec-09 21:02 
Questionexplain difference Pin
Mogamboo_Khush_Hua14-Dec-09 20:11
Mogamboo_Khush_Hua14-Dec-09 20:11 
AnswerRe: explain difference Pin
Migounette14-Dec-09 20:38
Migounette14-Dec-09 20:38 
QuestiondateTimePicker chosen problem Pin
miss YY14-Dec-09 15:42
miss YY14-Dec-09 15:42 
AnswerRe: dateTimePicker chosen problem Pin
_Maxxx_14-Dec-09 18:10
professional_Maxxx_14-Dec-09 18:10 
Our problem is that you have he following being executed...

WHERE tim >= 01-DEC-2009 00:00:00 AND tim <= 01-DEC-2009 00:00:00

(or something like that)

because DateTimePicker.Value is a DateTime not a Date.

SO you need to convert your mm to truncate the time portion and your nn to truncate the time and add one day, and change the WHERE to

WHERE tim >= @mm and tim < @nn

(i.e. use less than not less than or equal to)

If DateTimePicker returns the date with a zero time (i.e. midnight on that day) then you just need to change the <= to < and change

SCD.Parameters.AddWithValue(@nn, nn.AddDays(1))

___________________________________________
.\\axxx
(That's an 'M')

GeneralRe: dateTimePicker chosen problem Pin
miss YY14-Dec-09 19:01
miss YY14-Dec-09 19:01 
AnswerRe: dateTimePicker chosen problem Pin
dan!sh 14-Dec-09 18:23
professional dan!sh 14-Dec-09 18:23 
QuestionGraph an Equation Pin
Klazen14-Dec-09 15:22
Klazen14-Dec-09 15:22 
AnswerRe: Graph an Equation Pin
Dr.Walt Fair, PE14-Dec-09 16:16
professionalDr.Walt Fair, PE14-Dec-09 16:16 
QuestionPublic vs Private Memory Question Pin
thenutz7214-Dec-09 13:38
thenutz7214-Dec-09 13:38 
AnswerRe: Public vs Private Memory Question PinPopular
Luc Pattyn14-Dec-09 14:19
sitebuilderLuc Pattyn14-Dec-09 14:19 
GeneralRe: Public vs Private Memory Question Pin
_Maxxx_14-Dec-09 17:48
professional_Maxxx_14-Dec-09 17:48 
GeneralRe: Public vs Private Memory Question Pin
Luc Pattyn15-Dec-09 0:59
sitebuilderLuc Pattyn15-Dec-09 0:59 
GeneralRe: Public vs Private Memory Question Pin
harold aptroot15-Dec-09 1:10
harold aptroot15-Dec-09 1:10 
GeneralRe: Public vs Private Memory Question Pin
Luc Pattyn15-Dec-09 1:53
sitebuilderLuc Pattyn15-Dec-09 1:53 
GeneralRe: Public vs Private Memory Question Pin
harold aptroot15-Dec-09 2:14
harold aptroot15-Dec-09 2:14 
QuestionDifference between Critical section, Mutex and Semaphore ? Pin
sandeepranjan14-Dec-09 13:27
sandeepranjan14-Dec-09 13:27 
AnswerRe: Difference between Critical section, Mutex and Semaphore ? Pin
Corinna John14-Dec-09 22:28
Corinna John14-Dec-09 22:28 
QuestionC# serial port Pin
aniarun14-Dec-09 13:26
aniarun14-Dec-09 13:26 
AnswerRe: C# serial port Pin
Luc Pattyn14-Dec-09 14:24
sitebuilderLuc Pattyn14-Dec-09 14:24 
GeneralRe: C# serial port Pin
aniarun14-Dec-09 15:50
aniarun14-Dec-09 15:50 
GeneralRe: C# serial port Pin
Roger Wright14-Dec-09 19:33
professionalRoger Wright14-Dec-09 19:33 

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.