Click here to Skip to main content
15,886,100 members
Home / Discussions / C#
   

C#

 
GeneralQuestion about synchronization Pin
hsupercn25-Apr-04 20:42
hsupercn25-Apr-04 20:42 
GeneralRe: Question about synchronization Pin
Jeff Varszegi25-Apr-04 21:08
professionalJeff Varszegi25-Apr-04 21:08 
GeneralRe: Question about synchronization Pin
Heath Stewart26-Apr-04 3:16
protectorHeath Stewart26-Apr-04 3:16 
GeneralRe: Question about synchronization Pin
Jeff Varszegi26-Apr-04 4:20
professionalJeff Varszegi26-Apr-04 4:20 
GeneralRe: Question about synchronization Pin
Heath Stewart26-Apr-04 4:25
protectorHeath Stewart26-Apr-04 4:25 
GeneralRe: Question about synchronization Pin
Mike Dimmick26-Apr-04 0:45
Mike Dimmick26-Apr-04 0:45 
GeneralRe: Question about synchronization Pin
Jeff Varszegi26-Apr-04 4:23
professionalJeff Varszegi26-Apr-04 4:23 
GeneralEvaluating expressions Pin
Yaron K.25-Apr-04 20:04
Yaron K.25-Apr-04 20:04 
Hi
I am looking for a way to evaluate expression. An expression return exacly one result. The result may be a boolean, a number value a string, etc.
The idea is I give my user a tool to define expression. The expression is built in MSSQL style, and can use SQL functions. For example:

$Num1 > 100 AND $Num2 < 0

At run time my program replaces the variables with values, for example:

101 > 100 and 1<0

In the past, my application ran on the server. I used SQL itself for that: I passed it the string, received the return value and it was great.

No I am writing a client-server application, and this code runs on the client. So I cannot go to the server all the time.

Is there a way/class/object I can pass there expressions to on the client? I was thinking of using a dataset, but I can only see it can select records from a given data table. I cannot find how to perform such calculations.

Thank you!
GeneralRe: Evaluating expressions Pin
Jeff Varszegi25-Apr-04 20:37
professionalJeff Varszegi25-Apr-04 20:37 
GeneralRe: Evaluating expressions Pin
Yaron K.25-Apr-04 20:45
Yaron K.25-Apr-04 20:45 
GeneralRe: Evaluating expressions Pin
Jeff Varszegi25-Apr-04 21:01
professionalJeff Varszegi25-Apr-04 21:01 
GeneralRe: Evaluating expressions Pin
Yaron K.26-Apr-04 1:35
Yaron K.26-Apr-04 1:35 
GeneralRe: Evaluating expressions Pin
Jeff Varszegi25-Apr-04 22:45
professionalJeff Varszegi25-Apr-04 22:45 
GeneralRe: Evaluating expressions Pin
Heath Stewart26-Apr-04 3:13
protectorHeath Stewart26-Apr-04 3:13 
GeneralClass Circular References Pin
Abner Mallidy25-Apr-04 18:40
Abner Mallidy25-Apr-04 18:40 
GeneralRe: Class Circular References Pin
Jeff Varszegi25-Apr-04 19:55
professionalJeff Varszegi25-Apr-04 19:55 
Questionhow to draw on a bitmap? Pin
lowiq25-Apr-04 18:08
lowiq25-Apr-04 18:08 
AnswerRe: how to draw on a bitmap? Pin
CWIZO25-Apr-04 21:25
CWIZO25-Apr-04 21:25 
GeneralRe: how to draw on a bitmap? Pin
lowiq25-Apr-04 21:58
lowiq25-Apr-04 21:58 
GeneralRe: how to draw on a bitmap? Pin
Heath Stewart26-Apr-04 3:08
protectorHeath Stewart26-Apr-04 3:08 
GeneralRe: how to draw on a bitmap? Pin
lowiq26-Apr-04 19:48
lowiq26-Apr-04 19:48 
GeneralRe: how to draw on a bitmap? Pin
Heath Stewart27-Apr-04 2:49
protectorHeath Stewart27-Apr-04 2:49 
GeneralRe: how to draw on a bitmap? Pin
lowiq27-Apr-04 3:47
lowiq27-Apr-04 3:47 
GeneralFormula Pin
DucLinh25-Apr-04 15:39
DucLinh25-Apr-04 15:39 
GeneralRe: Formula Pin
Nick Parker25-Apr-04 15:53
protectorNick Parker25-Apr-04 15:53 

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.