Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
GeneralRe: Font Selection ToolStripComboBox Pin
Cerasti28-Apr-06 0:08
Cerasti28-Apr-06 0:08 
GeneralRe: Font Selection ToolStripComboBox Pin
alexey N28-Apr-06 0:27
alexey N28-Apr-06 0:27 
GeneralRe: Font Selection ToolStripComboBox Pin
Cerasti28-Apr-06 0:37
Cerasti28-Apr-06 0:37 
GeneralRe: Font Selection ToolStripComboBox Pin
alexey N28-Apr-06 0:57
alexey N28-Apr-06 0:57 
GeneralRe: Font Selection ToolStripComboBox Pin
Cerasti28-Apr-06 2:27
Cerasti28-Apr-06 2:27 
GeneralRe: Font Selection ToolStripComboBox Pin
Cerasti28-Apr-06 5:01
Cerasti28-Apr-06 5:01 
AnswerRe: Font Selection ToolStripComboBox Pin
Thomas Stockwell28-Apr-06 12:25
professionalThomas Stockwell28-Apr-06 12:25 
Questionhow to jpeg to bmp Pin
hikaru99627-Apr-06 22:22
hikaru99627-Apr-06 22:22 
AnswerRe: how to jpeg to bmp Pin
CWIZO27-Apr-06 23:38
CWIZO27-Apr-06 23:38 
GeneralRe: how to jpeg to bmp Pin
hikaru99628-Apr-06 1:40
hikaru99628-Apr-06 1:40 
GeneralRe: how to jpeg to bmp Pin
CWIZO28-Apr-06 1:43
CWIZO28-Apr-06 1:43 
GeneralRe: how to jpeg to bmp Pin
Graham Nimbley28-Apr-06 11:44
Graham Nimbley28-Apr-06 11:44 
Questionhtml source code Pin
fmardani27-Apr-06 22:13
fmardani27-Apr-06 22:13 
AnswerRe: html source code Pin
J4amieC27-Apr-06 22:15
J4amieC27-Apr-06 22:15 
GeneralRe: html source code Pin
fmardani28-Apr-06 0:21
fmardani28-Apr-06 0:21 
GeneralRe: html source code Pin
J4amieC28-Apr-06 0:50
J4amieC28-Apr-06 0:50 
GeneralRe: html source code Pin
fmardani28-Apr-06 0:52
fmardani28-Apr-06 0:52 
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

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.