Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalant of DO command
Message
From
03/12/2006 16:49:43
 
 
To
03/12/2006 16:47:42
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01174504
Message ID:
01174505
Views:
6
>am hoping there is a experieced foxpro programmer who also doing some coding in .net,can help me with this.
>
>as you know in foxpro we can run a procedures like below, say for e.g. i've table with list of procedures and program names then i can do following to execute following
>
>* Call program
>DO (TRIM(mytable.efunction)) WITH THISFORM IN (TRIM(mytable.elibrary))
>
>with this approach , i just need to create a new row (if a new program was developed) in the table and that'd automatically called without any additional code in program.
>
>am just wondering if anything similar in .net ?
>or do i just need big "SWITCH" statement for each program ?

You need to use Reflection.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform