Esempio n. 1
0
        private void txtProductName_TextChanged(object sender, EventArgs e)
        {
            StorageDAO          storage = new StorageDAO();
            List <SellGridView> list    = storage.listCustombyName(txtProductName.Text).ToList();

            dgv_sellProduct.DataSource = list;
        }
        private void loadDataByKey(string text)
        {
            StorageDAO s = new StorageDAO();

            dgvTonKho.DataSource = s.listCustombyName(text).ToList();
        }