Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EVALUATE() Equivalent function in .NET
Message
From
17/07/2007 18:31:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
EVALUATE() Equivalent function in .NET
Miscellaneous
Thread ID:
01241330
Message ID:
01241330
Views:
63
Is there any equivalent function to EVALUATE() in C#?

I need to be able to simulate the TEXT TO function for dynamically building SQL queries based on values generated by the system, for example I'd like to do something like this:

"SELECT * FROM customers WHERE record_id = ' < ds.record_id > '" Where < = "<<" in the TEXTMERGE feature.

Where the ds.record_id is some class property or field which may not be known in advance i.e., it could be ds.name or ds.somethingelse. And the "SELECT" statement is also not know in advance.

Any ideas on how to accomplish this in C#?

Thanks in advance.

Bob
Next
Reply
Map
View

Click here to load this message in the networking platform