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

C#

 
AnswerRe: html source code Pin
Guffa28-Apr-06 0:58
Guffa28-Apr-06 0:58 
GeneralRe: html source code Pin
fmardani28-Apr-06 1:01
fmardani28-Apr-06 1:01 
AnswerRe: html source code Pin
Guffa28-Apr-06 2:48
Guffa28-Apr-06 2:48 
GeneralRe: html source code Pin
fmardani28-Apr-06 2:51
fmardani28-Apr-06 2:51 
AnswerRe: html source code Pin
Guffa28-Apr-06 2:53
Guffa28-Apr-06 2:53 
GeneralRe: html source code Pin
fmardani28-Apr-06 2:55
fmardani28-Apr-06 2:55 
AnswerRe: html source code Pin
Guffa28-Apr-06 3:26
Guffa28-Apr-06 3:26 
GeneralRe: html source code Pin
J4amieC28-Apr-06 3:29
J4amieC28-Apr-06 3:29 
Frown | :( too late guffa posted the answer

Weve both given you different bits of this solution, but there comes a line where you must understand what you are writing, so that you learn. Its part of the learning curve that is learning how to program!

I'll give you another pointer, but i wont write the code for you this time.

The method you are trying to use is called iif. It takes three parameters. 1) The boolean condition to evaluate 2) the required return value if condition evaluates true 3) the required return value if condition evaluates false. These parameters are separated by a comma like this

iif(condition,trueValue,falseValue).

The last code you posted had a incorrect character used to separate one of these parameters.

Now, that was a hell of alot of typing when i could have just given you the answer in 1 line... i hope you appreciate that!

Current blacklist
svmilky - Extremely rude | FeRtoll - Rude personal emails | ironstrike1 - Rude & Obnoxious behaviour


-- modified at 9:29 Friday 28th April, 2006
GeneralRe: html source code Pin
fmardani28-Apr-06 3:34
fmardani28-Apr-06 3:34 
GeneralRe: html source code Pin
J4amieC28-Apr-06 3:12
J4amieC28-Apr-06 3:12 
QuestionRecoding voice Pin
ghost_cis27-Apr-06 21:34
ghost_cis27-Apr-06 21:34 
AnswerRe: Recoding voice Pin
Yuvi Panda28-Apr-06 1:29
Yuvi Panda28-Apr-06 1:29 
QuestionBeforeUninstall event + Process problems Pin
spif200127-Apr-06 21:07
spif200127-Apr-06 21:07 
Questionhow can i record voice and store it in files Pin
Mayood27-Apr-06 20:05
Mayood27-Apr-06 20:05 
AnswerRe: how can i record voice and store it in files Pin
mav.northwind28-Apr-06 11:43
mav.northwind28-Apr-06 11:43 
QuestionC# exercise Pin
rockxuyenmandem27-Apr-06 19:34
rockxuyenmandem27-Apr-06 19:34 
AnswerRe: C# exercise Pin
User 665827-Apr-06 21:42
User 665827-Apr-06 21:42 
AnswerRe: C# exercise Pin
J4amieC27-Apr-06 22:17
J4amieC27-Apr-06 22:17 
AnswerRe: C# exercise Pin
Guffa27-Apr-06 23:29
Guffa27-Apr-06 23:29 
AnswerRe: C# exercise Pin
alexey N27-Apr-06 23:50
alexey N27-Apr-06 23:50 
AnswerRe: C# exercise Pin
Colin Angus Mackay28-Apr-06 1:21
Colin Angus Mackay28-Apr-06 1:21 
AnswerRe: C# exercise Pin
Dan Neely28-Apr-06 2:09
Dan Neely28-Apr-06 2:09 
QuestionHi... Pin
KORCARI27-Apr-06 19:30
KORCARI27-Apr-06 19:30 
AnswerRe: Hi... Pin
CWIZO27-Apr-06 21:51
CWIZO27-Apr-06 21:51 
QuestionWindows Forms Error Pin
ranandbe27-Apr-06 19:07
ranandbe27-Apr-06 19:07 

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.