private void btnSort_Click(object sender, EventArgs e) { string temp = (string)cbSort.SelectedValue; if (temp.Equals("SapXepTheoTen")) { dgv.DataSource = DBBLL.Sort(GetListSPFromDGV(), SanPham_View.SapXepTheoTen); } if (temp.Equals("SapXepTheoMa")) { dgv.DataSource = DBBLL.Sort(GetListSPFromDGV(), SanPham_View.SapXepTheoMa); } if (temp.Equals("SapXepTheoTenMatHang")) { dgv.DataSource = DBBLL.Sort(GetListSPFromDGV(), SanPham_View.SapXepTheoThoiGian); } if (temp.Equals("SapXepTheoThoiGian")) { dgv.DataSource = DBBLL.Sort(GetListSPFromDGV(), SanPham_View.SapXepTheoTenMatHang); } }
public DataTable NameTags() { return(DBBLL.NameTags()); }
public DataTable DateCnts() { return(DBBLL.DateCnts()); }
public DataTable AddrCnts() { return(DBBLL.AddrCnts()); }
public DataTable AgeCnts() { return(DBBLL.AgeCnts()); }