private static readonly string AssemblyPath=ConfigurationManager.AppSettings["DAL"];
public static ERPSys.IDAL.IAdmin CreateAdmin()
{
string ClassNamespace = AssemblyPath ".Admin";
IDAL.IAdmin admin=ERPSys.IDAL.IAdmin)Assembly.Load(AssemblyPath).CreateInstance(ClassNamespace)); return admin;
}
Qyouu