using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using CY.BLL;
|
using CY.Model;
|
|
namespace CY.WebForm.Pages.personnel
|
{
|
//吴辉
|
//简历头像上传
|
public partial class EditMyPic : BasePage
|
{
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
OA_StaffResumeBLL bll_OA_StaffResumeBLL = new OA_StaffResumeBLL();
|
OA_StaffResume m_OA_StaffResume = bll_OA_StaffResumeBLL.GetModelByMemberid(CurrentUser.MemberId);
|
if (m_OA_StaffResume != null)
|
{
|
if (!string.IsNullOrEmpty(m_OA_StaffResume.R_G_Avatar) && System.IO.File.Exists(HttpContext.Current.Server.MapPath("~" + m_OA_StaffResume.R_G_Avatar)))
|
this.ImgR_G_Avatar.Src = m_OA_StaffResume.R_G_Avatar;
|
else
|
this.ImgR_G_Avatar.Src = "../../images/admin/_LoadDefault.gif";
|
}
|
else
|
{
|
this.ImgR_G_Avatar.Src = "../../images/admin/_LoadDefault.gif";
|
}
|
}
|
}
|
}
|
}
|