Exemple #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        Master.ShowLiControl(this.Page, "liFragment4");
        DalOperationPatch dalpa = new DalOperationPatch();

        UserCookiesInfo user = BllOperationAboutUser.GetUserCookiesInfo();
        string src = dalpa.GetAvatar(user.userNo, user.userType);
        ltavatar.Text = "<img src=\"" + src + "\">";
    }
Exemple #2
0
 /// <summary>
 /// 获得头像
 /// </summary>
 /// <param name="userNo"></param>
 /// <param name="userType"></param>
 /// <returns></returns>
 public string GetAvatar(string userNo, int userType)
 {
     DalOperationPatch dal = new DalOperationPatch();
     return dal.GetAvatar(userNo, userType);
 }