Example #1
0
        protected void LoadCerficate()
        {
            Cerficate certificate = cBll.GetModelList(" employeeID = '" + EmployeeID + "' AND isMain = 1 ").FirstOrDefault();

            //if (cerficate != null)
            //{
            //    imgCerficate.Src = "/FileOperation/ImageCompression.ashx?empID=" + EmployeeID + ""; // Convert.ToString(ConfigurationManager.AppSettings["fileSavePath"]) + "/" + cerficate.FILEPATH;
            //}
            if (certificate != null)
            {
                imgCerficate.ImageUrl = Path.Combine(ConfigurationManager.AppSettings["thumbnailsPath"].ToString(), certificate.FILEPATH); // "/FileOperation/ImageCompression.ashx?empID=" + EmployeeID;
            }
        }
Example #2
0
        protected void LoadCerficate()
        {
            List <Cerficate> lstCrt = cBll.GetModelList(" employeeID = '" + Request.QueryString["employeeID"] + "' ");

            lstCerficate = lstCrt;
        }