|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Method Accessi need to acces the methods of a class using a variable. Try to explain better my needs: I have a class with undreds of methods, and i have, in a database, wich of this method i must use. Can I access the method with a string variable?? Sample: My class "class" have this methods "one", "two", "three", "four" and "five". I've on a database table this record: UseClass = "three" Can I access the moethod in a way like "class"."UseClass" so i can invoke the method "three"?? Help please. scoffer wrote:
Show quoteHide quote >Hi all, Use the Assembly class to get the module containing the class you want, > >i need to acces the methods of a class using a variable. >Try to explain better my needs: > >I have a class with undreds of methods, and i have, in a database, wich of >this method i must use. >Can I access the method with a string variable?? > >Sample: >My class "class" have this methods "one", "two", "three", "four" and "five". > >I've on a database table this record: >UseClass = "three" > >Can I access the moethod in a way like "class"."UseClass" so i can invoke >the method "three"?? > > >Help please. > > > > then use the module to get the method you want using a string variable. T
Frustrated trying to use "pure" VS.NET to access database properties
ADO.NET Error Detect if Themes are enabled? Export to excel without using office automation VS2003 and VS2005 Side by Side Dynamically Create Timers are Run-Time VB Express - How to access query value on my form? SQLConnection Setting focus Opposite of Graphics.FromImage |
|||||||||||||||||||||||