I want to use a static method of a class using only the text name of the
class and the text name of the method.
The Assembly Name for this Static class is "DALLibrary "
The Namespace name for the Static Class is "GL.DAL"
The Class name of the Static class is "GL_ACCOUNT_TBL _DAL"
I tried to create a "Type" object with the following set of instructions...
string myclass = "DALLibrary.GL. DAL.GL_ACCOUNT_ TBL_DAL";
Type myType = Type.GetType(my class);
This returns "null". What is wrong with how I am constructing my "Type"?
Thanks in advance for your assistance!!
class and the text name of the method.
The Assembly Name for this Static class is "DALLibrary "
The Namespace name for the Static Class is "GL.DAL"
The Class name of the Static class is "GL_ACCOUNT_TBL _DAL"
I tried to create a "Type" object with the following set of instructions...
string myclass = "DALLibrary.GL. DAL.GL_ACCOUNT_ TBL_DAL";
Type myType = Type.GetType(my class);
This returns "null". What is wrong with how I am constructing my "Type"?
Thanks in advance for your assistance!!
Comment