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

C#

 
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 
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 
A. The ReportDate is passed to the select statement.
B. The select statement supposedly retrieves all rows equalling that value.
C. The select statement returns the value contained in the ReportDate AND the BalanceOH fields.
D. Irrespective of what date I pass to the select statement, it always retieves row 0, etc AND the comparative statement is only there for cosmetic and confirmation of B. not returning the correct BalanceOH figure.
E. The value of BalanceOH is not the balance corresponding to the date I want.
F. The comparison is only made to confirm to me that I don't know what I'm doing.

If there was a problem with the formatting of the dates, then I don't see why the select statement is retrieving any rows at all.

What I think is wrong is that I am always going to get the value 0 returned becuase that is what the value of i is. Shouldn't I be passing the value of the row number corresponding to the selected ReportDate of the datatable?

BalanceOH = Convert.ToDecimal(myclubDataSet.Tables["TresReports"].Rows[i]["BalanceOH"]);



Glen Harvy

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 
GeneralRe: which method is the best than others and why? (Type convert) Pin
leppie15-Aug-06 23:40
leppie15-Aug-06 23:40 
AnswerRe: which method is the best than others and why? (Type convert) Pin
beatles169215-Aug-06 23:07
beatles169215-Aug-06 23:07 
GeneralRe: which method is the best than others and why? (Type convert) [modified] Pin
CooperWu16-Aug-06 0:00
CooperWu16-Aug-06 0:00 
AnswerRe: which method is the best than others and why? (Type convert) Pin
CooperWu16-Aug-06 0:22
CooperWu16-Aug-06 0:22 
AnswerRe: which method is the best than others and why? (Type convert) Pin
User 665816-Aug-06 1:46
User 665816-Aug-06 1:46 

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.