Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run scripts
Message
From
24/11/2006 12:13:20
 
 
To
17/11/2006 13:17:44
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 1.1
Miscellaneous
Thread ID:
01168176
Message ID:
01172291
Views:
38
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
Previous
Reply
Map
View

Click here to load this message in the networking platform