Giá:
Mô tả:

Kích Cỡ:            Họa Tiết:
Kiểu Dáng:
Form:
ConnectDB sql = new ConnectDB(); if (Request["id"] != null) { String id = Request["id"]; DataTable data = sql.queryToDataTable("SELECT * FROM tbl_QuanAo WHERE MaSP = '" + id+"'"); if (data.Rows.Count == 1) { lbTenSP.Text = (String)data.Rows[0]["TenSP"]; lbMaSP.Text = (String)data.Rows[0]["MaSP"]; imgSP.ImageUrl = "styles/images/" + (String)data.Rows[0]["Hinh"]; lbGia.Text = string.Format(System.Globalization.CultureInfo.GetCultureInfo("vi-VN"),"{0:C0}", (int)data.Rows[0]["Gia"]); lbMoTa.Text = (String)data.Rows[0]["MoTa"]; lbKichCo.Text = string.Format("{0:d}",data.Rows[0]["KichCo"]); lbKieuDang.Text = (String)data.Rows[0]["KieuDang"]; lbHoaTiet.Text = (String)data.Rows[0]["Hoatiet"]; txtGia.Text = string.Format("{0:d}",(int)data.Rows[0]["Gia"]); } } else { Response.Redirect("trangchu.aspx"); } .chitiet-title { border-left: solid 3px #c72a30; padding-left: 5px; } .chitiet-title div{ text-transform: uppercase; font-size: 20px; font-weight: bold; } .chitiet-img { width: 100%; text-align: center; } .chitiet-mota { border-bottom: solid 5px #808080; text-transform: uppercase; font-weight: bold; } .chitiet-mota-p { margin-top: 10px; }