Click here to Skip to main content
15,888,461 members
Home / Discussions / C#
   

C#

 
AnswerRe: load combobox values into datagrid combobox Pin
Ronni Marker20-Nov-09 11:09
Ronni Marker20-Nov-09 11:09 
Questioncodeproject template empty Pin
Rassler4820-Nov-09 6:53
Rassler4820-Nov-09 6:53 
AnswerRe: codeproject template empty Pin
Richard MacCutchan20-Nov-09 7:16
mveRichard MacCutchan20-Nov-09 7:16 
GeneralRe: codeproject template empty Pin
Rassler4820-Nov-09 20:49
Rassler4820-Nov-09 20:49 
GeneralRe: codeproject template empty Pin
Richard MacCutchan20-Nov-09 21:13
mveRichard MacCutchan20-Nov-09 21:13 
GeneralRe: codeproject template empty Pin
Rassler4821-Nov-09 5:37
Rassler4821-Nov-09 5:37 
Questionrequest: fixing a codeproject programm Pin
no_idea20-Nov-09 6:40
no_idea20-Nov-09 6:40 
AnswerRe: request: fixing a codeproject programm Pin
DaveyM6920-Nov-09 8:18
professionalDaveyM6920-Nov-09 8:18 
Normally I would say you should ask in the article's forum but the author doesn't seem to respond to messages there.

THe first problem is because the Math.Abs function returns an int so the Floor method doesn't know which overload to use. The easy way around this is to cast the result to a deciaml or double depending on your needs:
C#
redwx=(int)Math.Floor((decimal)(Math.Abs((int)Math.Log10(lox))));


I don't get the second error at all, if I remove the default Program.cs and replace it with the MainFile.cs all works perfectly.

Dave

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus)

GeneralRe: request: fixing a codeproject programm Pin
no_idea20-Nov-09 10:16
no_idea20-Nov-09 10:16 
GeneralRe: request: fixing a codeproject programm Pin
DaveyM6920-Nov-09 16:29
professionalDaveyM6920-Nov-09 16:29 
GeneralRe: request: fixing a codeproject programm Pin
dojohansen23-Nov-09 10:50
dojohansen23-Nov-09 10:50 
QuestionAlter table in dataset Pin
daniel kuperberg20-Nov-09 6:36
daniel kuperberg20-Nov-09 6:36 
AnswerRe: Alter table in dataset Pin
dojohansen23-Nov-09 10:53
dojohansen23-Nov-09 10:53 
Questionbetter way to make function returns Pin
netJP12L20-Nov-09 6:13
netJP12L20-Nov-09 6:13 
AnswerMessage Closed Pin
20-Nov-09 6:15
stancrm20-Nov-09 6:15 
GeneralRe: better way to make function returns Pin
netJP12L20-Nov-09 6:28
netJP12L20-Nov-09 6:28 
GeneralRe: better way to make function returns [modified] Pin
Saksida Bojan20-Nov-09 6:34
Saksida Bojan20-Nov-09 6:34 
GeneralRe: better way to make function returns Pin
netJP12L20-Nov-09 6:50
netJP12L20-Nov-09 6:50 
GeneralRe: better way to make function returns Pin
Saksida Bojan20-Nov-09 6:59
Saksida Bojan20-Nov-09 6:59 
AnswerRe: better way to make function returns Pin
0x3c020-Nov-09 6:38
0x3c020-Nov-09 6:38 
AnswerRe: better way to make function returns Pin
musefan20-Nov-09 7:39
musefan20-Nov-09 7:39 
GeneralRe: better way to make function returns Pin
netJP12L20-Nov-09 8:34
netJP12L20-Nov-09 8:34 
AnswerRe: better way to make function returns Pin
dojohansen23-Nov-09 10:59
dojohansen23-Nov-09 10:59 
QuestionStream closes while reading a socket Pin
joana.simoes20-Nov-09 5:11
joana.simoes20-Nov-09 5:11 
AnswerRe: Stream closes while reading a socket Pin
Paulo Zemek20-Nov-09 5:57
mvaPaulo Zemek20-Nov-09 5:57 

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.