摘要:
//同类型的基类.用来确定需动态实例化的类的程序集位置及名称,用以replace用basepro bp = new basepro();//获取该类型在程序集完整限定名string classname = bp.GetType().AssemblyQualifiedName;Response.Write(classname);//替换程序集位置及名称为要实例化的类Type objtype = Type.GetType(classname.Replace("basepro","pro_21"));//实例化object o = Activator.Crea 阅读全文
![](/skins/gray/images/separator.gif)