General information
Category:
Visual FoxPro and .NET
Title:
EVALUATE() Equivalent function in .NET
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only