62,046
社区成员
发帖
与我相关
我的任务
分享
protected BLL.Category ca = new BLL.Category();
protected IList<TopTreeInfo> ttlist;
protected IList<BranchInfo> bilist;
protected void Page_Load(object sender, EventArgs e)
{
ttlist = ca.GetTopTree();
bilist = ca.GetBranch();
}
private static readonly ICategory ica = DataAccess.CreateCategory();
private static readonly string sPath = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
public static IDAL.ICategory CreateC2CCategory()
{
string sClassName = sC2CPath + ".Category";
return (IDAL.ICategory)Assembly.Load(sPath).CreateInstance(sClassName);
}
private static readonly string sPath = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
public static IDAL.ICategory CreateCategory()
{
string sClassName = sPath + ".Category";
return (IDAL.ICategory)Assembly.Load(sPath).CreateInstance(sClassName);
}