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

C#

 
AnswerRe: EKRN.EXE Pin
Calla7-Feb-12 21:16
Calla7-Feb-12 21:16 
AnswerRe: EKRN.EXE Pin
BobJanova8-Feb-12 4:11
BobJanova8-Feb-12 4:11 
AnswerRe: EKRN.EXE Pin
Wes Aday8-Feb-12 5:31
professionalWes Aday8-Feb-12 5:31 
GeneralRe: EKRN.EXE Pin
candogu8-Feb-12 19:25
candogu8-Feb-12 19:25 
GeneralRe: EKRN.EXE Pin
Pete O'Hanlon8-Feb-12 22:12
mvePete O'Hanlon8-Feb-12 22:12 
GeneralRe: EKRN.EXE Pin
candogu9-Feb-12 2:54
candogu9-Feb-12 2:54 
QuestionResource Sharing and Conflict Management System Pin
shaistamin7-Feb-12 19:20
shaistamin7-Feb-12 19:20 
AnswerRe: Resource Sharing and Conflict Management System Pin
Richard MacCutchan7-Feb-12 22:38
mveRichard MacCutchan7-Feb-12 22:38 
AnswerRe: Resource Sharing and Conflict Management System Pin
Eddy Vluggen8-Feb-12 0:21
professionalEddy Vluggen8-Feb-12 0:21 
QuestionReplacing LF with CRLF in text file Pin
KimberlyKetchum7-Feb-12 19:06
KimberlyKetchum7-Feb-12 19:06 
AnswerRe: Replacing LF with CRLF in text file Pin
SledgeHammer017-Feb-12 19:36
SledgeHammer017-Feb-12 19:36 
Questionsend mail in windows application Pin
Member 6126317-Feb-12 18:59
Member 6126317-Feb-12 18:59 
AnswerRe: send mail in windows application Pin
SledgeHammer017-Feb-12 19:32
SledgeHammer017-Feb-12 19:32 
AnswerRe: send mail in windows application Pin
Richard MacCutchan7-Feb-12 22:37
mveRichard MacCutchan7-Feb-12 22:37 
AnswerRe: send mail in windows application Pin
Jitendra Parida - Jeetu8-Feb-12 1:25
Jitendra Parida - Jeetu8-Feb-12 1:25 
QuestionExport to excel attachments not coming in excel Pin
Vinayak B7-Feb-12 18:36
Vinayak B7-Feb-12 18:36 
QuestionOptimising data retrieval in application with high refresh rate Pin
brendanpi7-Feb-12 17:16
brendanpi7-Feb-12 17:16 
AnswerRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer017-Feb-12 18:34
SledgeHammer017-Feb-12 18:34 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
brendanpi7-Feb-12 18:40
brendanpi7-Feb-12 18:40 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
Mycroft Holmes7-Feb-12 18:48
professionalMycroft Holmes7-Feb-12 18:48 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer017-Feb-12 19:30
SledgeHammer017-Feb-12 19:30 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
Mycroft Holmes7-Feb-12 20:08
professionalMycroft Holmes7-Feb-12 20:08 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer018-Feb-12 3:58
SledgeHammer018-Feb-12 3:58 
GeneralRe: Optimising data retrieval in application with high refresh rate Pin
SledgeHammer017-Feb-12 19:27
SledgeHammer017-Feb-12 19:27 
Questionprogramming unknown conditions Pin
SilimSayo7-Feb-12 15:40
SilimSayo7-Feb-12 15:40 
I am just wondering if there is a pattern for programming conditions which are not known by the programmer at programming time; i.e. the conditions are set by the user.

For example, the user may define a set IF conditions, and corresponding actions. If the IFs were finite, that would be easy. However, the user has a variable set of conditions/rules. A good example of this is a ERP-purchasing module application. The routing of a purchase order depends on approval level. The levels of approval are determined by the company policy. There could be any number of approval levels.

In other word
IF condition 1... then action 1
IF condition 2... then action 2
..

IF Condition n.... then action n

but N is unknown at programming time. So I can't use the the typical if-else block.

Any suggestions on how to handle this.

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.