Example #1
0
 protected void Sua_Click(object sender, CommandEventArgs e)
 {
     if (e.CommandName == "sua")
     {
         CV c = dataCV.get1CV(Convert.ToInt32(e.CommandArgument));
         Session["CV"] = c;
         Response.Redirect("EditCV.aspx");
     }
 }
Example #2
0
        private void hienthi()
        {
            int id = Convert.ToInt32(Request.QueryString["macv"]);
            CV  cv = new CV();

            cv = cvc.get1CV(id);
            imganhthe.ImageUrl = "~/Photos/" + cv.anhThe;
            lblhoten.Text      = cv.hoTen;
            lbldiaChi.Text     = cv.diaChi;
            lblgioiTinh.Text   = cv.gioiTinh;
            soDienthoai.Text   = cv.dienThoai;
            email.Text         = cv.email;
            lblngaysinh.Text   = cv.ngaySinh.ToShortDateString();
            lbltieude.Text     = cv.tieuDe;
            lblkinhnghiem.Text = cv.kinhNghiem;
            lblthongtin.Text   = cv.thongTinThem;
            lblhocvan.Text     = cv.hocVan;
            lblkinang.Text     = cv.kyNang;
        }