-
03-11-2014, 06:24 PM #1Junior Member
- Ngày tham gia
- Sep 2015
- Bài viết
- 0
Tìm kiếm đa điều kiện sử dụng LINQ
Mình có 3 cái DropDownList và một cái Button thế này, tên bảng là HangHoa
Mã:<asp:DropDownList ID="DDLLoaiHang" runat="server"> <asp:ListItem Value="0">Chọn hãng SX</asp:ListItem> <asp:ListItem Value="1">Longines</asp:ListItem> <asp:ListItem Value="2">Citizen</asp:ListItem> <asp:ListItem Value="3">Titan</asp:ListItem> <asp:ListItem Value="4">Esprit</asp:ListItem> <asp:ListItem Value="5">Tissot</asp:ListItem> <asp:ListItem Value="6">Ogival</asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="DDLKIeuDang" runat="server"> <asp:ListItem Value="0">Chọn kiểu dáng</asp:ListItem> <asp:ListItem>Nam</asp:ListItem> <asp:ListItem>Nữ</asp:ListItem> </asp:DropDownList> <asp:DropDownList ID="DDLGiaTien" runat="server"> <asp:ListItem Value="0">Chọn giá tiền</asp:ListItem> <asp:ListItem Value="1">Dưới 200 USD</asp:ListItem> <asp:ListItem Value="2">200 - 500 USD</asp:ListItem> <asp:ListItem Value="3">500 - 1000 USD</asp:ListItem> <asp:ListItem Value="4">Trên 1000 USD</asp:ListItem> </asp:DropDownList> <asp:Button ID="btnTimKiem" runat="server" Text="Tìm Kiếm" OnClick="btnTimKiem_Click" />
View more random threads:
- làm sao để lưu chương trình thành 1 phần mềm?
- Hướng dẫn tổng quan về sử dụng KeyUp, KeyDown, KeyPress
- Làm sao thiết kế được giao diện có control + panel ẩn hiện
- Xử lý sự kiên click combobox trong lập trình C#?
- Thuật toán giấu tin trong ảnh Wu-Lee
- Lỗi nhiều máy nhập cùng lúc bị trùng ID trong CSDL Access
- Định dạng Ngày , Tháng , Năm trong việc nhập vào DATABASE và xuất ra file Excel
- Cách xử lý lỗi vòng lặp?
- Cách tạo crystal Report từ 1 file excel trong C#?
- Lỗi: login failed for user '
/Guest'
-
04-11-2014, 12:14 PM #2Junior Member
- Ngày tham gia
- Sep 2015
- Bài viết
- 0
.Where(c=>c.MaHang==MaHang || MaHang==0)
Pallet nhựa Lâm Đồng giải pháp hoàn hảo cho nhà kho Pallet nhựa Lâm Đồng là một giải pháp đa năng và hiệu quả trong việc vận chuyển và lưu trữ hàng hóa. Trong đó, pallet nhựa Lâm Đồng không chỉ đáp...
Pallet nhựa Lâm Đồng giải pháp...