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

C#

 
GeneralRe: how to IF?! Pin
PIEBALDconsult19-Apr-10 13:01
mvePIEBALDconsult19-Apr-10 13:01 
AnswerRe: how to IF?! [modified] Pin
NavnathKale10-Apr-10 2:43
NavnathKale10-Apr-10 2:43 
GeneralRe: how to IF?! Pin
harold aptroot10-Apr-10 3:03
harold aptroot10-Apr-10 3:03 
GeneralRe: how to IF?! Pin
AspDotNetDev10-Apr-10 13:35
protectorAspDotNetDev10-Apr-10 13:35 
GeneralRe: how to IF?! Pin
harold aptroot10-Apr-10 13:54
harold aptroot10-Apr-10 13:54 
GeneralRe: how to IF?! Pin
AspDotNetDev10-Apr-10 14:39
protectorAspDotNetDev10-Apr-10 14:39 
GeneralRe: how to IF?! Pin
harold aptroot10-Apr-10 14:48
harold aptroot10-Apr-10 14:48 
GeneralRe: how to IF?! Pin
AspDotNetDev10-Apr-10 15:02
protectorAspDotNetDev10-Apr-10 15:02 
harold aptroot wrote:
The OP should reply and clear this up


The OP already did that:

jrahma wrote:
if the user entered BP_S then he MUST enter BP_D
similarly, if the user entered BP_D then he MUST enter BP_S

but user can leave both BP_S and BP_D as NULL


Let's break that down...

jrahma wrote:
if the user entered BP_S then he MUST enter BP_D


That means:

If the first textbox contains some text, the second textbox must contain some text.


jrahma wrote:
if the user entered BP_D then he MUST enter BP_S


That means:

If the second textbox contains some text, the first textbox must contain some text.


jrahma wrote:
user can leave both BP_S and BP_D as NULL


That means:

If both are empty, that is fine.


What all of that means:

It is valid for both to be empty or both to contain text, but it is not ok for just one but not the other to contain text.

That is my interpretation. But it is also the correct interpretation. I think the OP has everything he needs, but feel free to ask him if you don't think that's the case.

GeneralRe: how to IF?! Pin
harold aptroot10-Apr-10 15:18
harold aptroot10-Apr-10 15:18 
GeneralRe: how to IF?! Pin
NavnathKale10-Apr-10 20:18
NavnathKale10-Apr-10 20:18 
GeneralRe: how to IF?! Pin
harold aptroot11-Apr-10 2:25
harold aptroot11-Apr-10 2:25 
QuestionSerialization problem Pin
Alan Balkany9-Apr-10 10:57
Alan Balkany9-Apr-10 10:57 
AnswerRe: Serialization problem Pin
Migounette9-Apr-10 11:13
Migounette9-Apr-10 11:13 
GeneralRe: Serialization problem Pin
Alan Balkany9-Apr-10 11:17
Alan Balkany9-Apr-10 11:17 
GeneralRe: Serialization problem Pin
Alan Balkany9-Apr-10 11:38
Alan Balkany9-Apr-10 11:38 
GeneralRe: Serialization problem Pin
Migounette9-Apr-10 11:55
Migounette9-Apr-10 11:55 
AnswerRe: Serialization problem Pin
Luc Pattyn9-Apr-10 11:23
sitebuilderLuc Pattyn9-Apr-10 11:23 
GeneralRe: Serialization problem Pin
Alan Balkany9-Apr-10 11:29
Alan Balkany9-Apr-10 11:29 
QuestionDont understand arrays Pin
netJP12L9-Apr-10 10:44
netJP12L9-Apr-10 10:44 
AnswerRe: Dont understand arrays Pin
Migounette9-Apr-10 11:25
Migounette9-Apr-10 11:25 
AnswerRe: Dont understand arrays Pin
Sir Dot Net9-Apr-10 11:26
Sir Dot Net9-Apr-10 11:26 
AnswerRe: Dont understand arrays Pin
AspDotNetDev9-Apr-10 11:35
protectorAspDotNetDev9-Apr-10 11:35 
GeneralRe: Dont understand arrays Pin
Luc Pattyn9-Apr-10 12:24
sitebuilderLuc Pattyn9-Apr-10 12:24 
GeneralRe: Dont understand arrays Pin
AspDotNetDev9-Apr-10 16:12
protectorAspDotNetDev9-Apr-10 16:12 
Questionownerdrawn treenodes Pin
xilefxilef9-Apr-10 10:32
xilefxilef9-Apr-10 10:32 

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.