Mensaje
De
03/12/2006 16:49:43
 
 
a
03/12/2006 16:47:42
General information
Foro:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
Miscellaneous
ID de la conversación:
01174504
ID del mensaje:
01174505
Views:
9
>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
Responder
Mapa
Ver