Click here to Skip to main content
15,892,005 members
Home / Discussions / C#
   

C#

 
QuestionSQL DataAdapter disabled in toolbox?? Pin
raviroyx16-Aug-06 1:07
raviroyx16-Aug-06 1:07 
QuestionComboBox in a ListBox Pin
syntaxed16-Aug-06 0:53
syntaxed16-Aug-06 0:53 
AnswerRe: ComboBox in a ListBox Pin
stancrm16-Aug-06 1:25
stancrm16-Aug-06 1:25 
QuestionHow to reopen the existing opened File [modified] Pin
engsrini16-Aug-06 0:12
engsrini16-Aug-06 0:12 
QuestionI know I'm missing something [modified] Pin
Glen Harvy15-Aug-06 23:45
Glen Harvy15-Aug-06 23:45 
AnswerRe: I know I'm missing something Pin
albCode16-Aug-06 0:14
albCode16-Aug-06 0:14 
GeneralRe: I know I'm missing something Pin
Glen Harvy16-Aug-06 2:14
Glen Harvy16-Aug-06 2:14 
AnswerRe: I know I'm missing something Pin
CooperWu16-Aug-06 0:20
CooperWu16-Aug-06 0:20 
I think the problem is here
<br />
 DateTime repDate = Convert.ToDateTime(myclubDataSet.Tables["TresReports"].Rows[i]["ReportDate"]);<br />
<br />
if (repDate != fDate)<br />
{<br />
MessageBox.Show("I dunno what I'm doing");<br />
} <br />

the fDate may contains hh:mm:ss value, but the repDate is 00:00:00.
e.g
<br />
 fDate = DateTime.Now; //fDate=2006/08/16 18:14:05<br />
 repDate = Convert.ToDateTime("2006/08/16"); // repDate would be: 2006/08/16 00:00:00<br />

and 2006/08/16 18:14:05 != 2006/08/16 00:00:00

so you will always get "I dunno what I'm doing" all the time.
GeneralRe: I know I'm missing something Pin
Glen Harvy16-Aug-06 2:17
Glen Harvy16-Aug-06 2:17 
AnswerRe: I know I'm missing something Pin
V.16-Aug-06 2:25
professionalV.16-Aug-06 2:25 
GeneralRe: I know I'm missing something Pin
Guffa16-Aug-06 2:50
Guffa16-Aug-06 2:50 
GeneralRe: I know I'm missing something Pin
V.16-Aug-06 3:12
professionalV.16-Aug-06 3:12 
GeneralRe: I know I'm missing something Pin
Glen Harvy16-Aug-06 12:56
Glen Harvy16-Aug-06 12:56 
GeneralRe: I know I'm missing something Pin
V.16-Aug-06 20:32
professionalV.16-Aug-06 20:32 
Questiondoubt on URLDownloadToFile Pin
Bibhu shankar15-Aug-06 23:19
Bibhu shankar15-Aug-06 23:19 
Questiondisplay data on textboxes from database using classes [modified] Pin
Mamphekgo15-Aug-06 22:01
Mamphekgo15-Aug-06 22:01 
AnswerRe: display data on textboxes from database using classes Pin
coolestCoder16-Aug-06 0:18
coolestCoder16-Aug-06 0:18 
AnswerRe: display data on textboxes from database using classes Pin
Mamphekgo16-Aug-06 0:54
Mamphekgo16-Aug-06 0:54 
GeneralRe: display data on textboxes from database using classes Pin
coolestCoder16-Aug-06 1:13
coolestCoder16-Aug-06 1:13 
Questionwhich method is the best than others and why? (Type convert) Pin
CooperWu15-Aug-06 21:59
CooperWu15-Aug-06 21:59 
AnswerRe: which method is the best than others and why? (Type convert) Pin
Guffa15-Aug-06 22:28
Guffa15-Aug-06 22:28 
GeneralRe: which method is the best than others and why? (Type convert) Pin
CooperWu15-Aug-06 22:40
CooperWu15-Aug-06 22:40 
GeneralRe: which method is the best than others and why? (Type convert) Pin
leppie15-Aug-06 22:45
leppie15-Aug-06 22:45 
GeneralRe: which method is the best than others and why? (Type convert) Pin
CooperWu15-Aug-06 22:56
CooperWu15-Aug-06 22:56 
GeneralRe: which method is the best than others and why? (Type convert) Pin
Guffa15-Aug-06 23:20
Guffa15-Aug-06 23:20 

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.