Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalant of DO command
Message
De
03/12/2006 16:49:43
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01174504
Message ID:
01174505
Vues:
7
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform