Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run scripts
Message
De
24/11/2006 12:13:20
 
 
À
17/11/2006 13:17:44
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 1.1
Divers
Thread ID:
01168176
Message ID:
01172291
Vues:
39
This message has been marked as the solution to the initial question of the thread.
Andrus,

Correct me if I'm wrong, but it sounds like you basically want to execute a block of C# code? If so, have a look at Rick's article on the subject:

http://www.west-wind.com/presentations/DynamicCode/DynamicCode.htm

~~Bonnie



>>Andrus, is this a website? You need to provide a little more detail.
>
>This is WinForms application.
>
>I need to add some custom checks code before saving invoices.
>When those checks fail, saving invoice is disabled.
>In VFP I can wrote in invoice business class Save() method
>
>IF !ExecScript( myscripttable.myscriptmemofield )
> return .f.
> endif
>
>I want to re-write myscripttable.myscriptmemofield code in C#
>
>I need to create myscripttable.myscriptmemofield contents in customer site using syntax coloring C# code editor.
>
>However, I have no idea how to execute the code from database text field
>in .NET
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform