2011年10月17日
摘要: //同类型的基类.用来确定需动态实例化的类的程序集位置及名称,用以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 阅读全文
posted @ 2011-10-17 18:17 vingi_苍月 阅读(271) 评论(0) 推荐(0) 编辑