B
BBFrost
I want to build a generic application that runs one of a set of class
methods depending on data extracted from a database table.
For example if I extract value X from the database table I also extract a
string variable that contains the corresponding method name.
string sMethodName = null;
Class1 oClass1 = new Class1( );
If Class1 has a method named Method1 and the variable sMethodName =
"Method1"
How do I construct a call to oClass1.Method1( ) using the >> contents << of
the MethodName variable ???
Thanks in advance.
Barry
in Oregon
methods depending on data extracted from a database table.
For example if I extract value X from the database table I also extract a
string variable that contains the corresponding method name.
string sMethodName = null;
Class1 oClass1 = new Class1( );
If Class1 has a method named Method1 and the variable sMethodName =
"Method1"
How do I construct a call to oClass1.Method1( ) using the >> contents << of
the MethodName variable ???
Thanks in advance.
Barry
in Oregon