L
Ladislav Kepl
I would like to initialize new instance of class
"EWC.EWCWebCustomControls.EwcImgButton" defined in string and then work with
the object of this class, I tried this:
Type myType =
System.Reflection.Emit.TypeBuilder.GetType("EWC.EWCWebCustomControls.EwcImgB
utton");
ctrl = (myType)Convert.ChangeType(ctrl,myType);
but the .NET framework doesn't compile it ane send the build message:
logic.cs(185): The type or namespace name 'myType' could not be found (are
you missing a using directive or an assembly reference?)
Do some body know how to create this instance of class? Thank you in
advance?
LK
"EWC.EWCWebCustomControls.EwcImgButton" defined in string and then work with
the object of this class, I tried this:
Type myType =
System.Reflection.Emit.TypeBuilder.GetType("EWC.EWCWebCustomControls.EwcImgB
utton");
ctrl = (myType)Convert.ChangeType(ctrl,myType);
but the .NET framework doesn't compile it ane send the build message:
logic.cs(185): The type or namespace name 'myType' could not be found (are
you missing a using directive or an assembly reference?)
Do some body know how to create this instance of class? Thank you in
advance?
LK