protected void BindData(string id) { FImg_Lib bll = new FImg_Lib(); RP_img.DataSource = bll.GetDAL().GetList("P_ImgLibrary=" + id); RP_img.DataBind(); }
protected string GetCoverImg(string typeid) { FImg_Lib bll = new FImg_Lib(); EImg_Lib model = bll.GetDAL().GetModel(" P_ImgLibrary=" + typeid); if (model != null) { return("../../upload/Img_Lib/" + model.SRC); } else { return("../../img/no_photo.png"); } }