10/10/2018, 10:55
Cần giúp đỡ bài tập asp.net với C#
http://www.mediafire.com/?j6u93mbmdjw9u22
Các bạn giúp mình với , có thể gửi vào mail nguyenthangkhmt2@gmail.com
Thks rất nhìu !
Các bạn giúp mình với , có thể gửi vào mail nguyenthangkhmt2@gmail.com
Thks rất nhìu !
Bài liên quan





Nice!
Product(ProductID, ProductName, ProductImage, ProductDetail)
Ở trang sản phẩm, bạn dùng một datalist hiện hình (lấy từ cột ProductImage trong db)
<asp:DataList ID="SanPham" runat="server" RepeatColumns="2" Width="100%" GridLines="Horizontal"> <ItemTemplate> <asp:HyperLink ID="hplXemChiTiet" runat="server" ImageUrl='<%# "~/Hinh/Sanpham/" + Eval("ProductImage") %>' NavigateUrl='<%# "~/trang/ChiTietSanPham.aspx?pID=" + Eval("ProductID") %>'>[hplXemChiTiet]</asp:HyperLink> </ItemTemplate> </asp:DataList>Trong câu lấy dữ liệu bạn nhớ where thêm điều kiện từ tham số pID được truyền đi: