Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
EVALUATE() Equivalent function in .NET
Message
De
17/07/2007 18:31:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Titre:
EVALUATE() Equivalent function in .NET
Divers
Thread ID:
01241330
Message ID:
01241330
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform