예제 #1
0
        private void LoadData()
        {
            StorageDAO  s  = new StorageDAO();
            DBContextSV db = new DBContextSV(Program.connectionString);

            comboBox1.DataSource = db.chinhanhs.Select(x => x.tencn).ToList();
            dgvTonKho.DataSource = s.listCustom().ToList();
            SetEditingMode(false);
        }
예제 #2
0
        public void loaddata()
        {
            StorageDAO s = new StorageDAO();

            dgv_sellProduct.DataSource = s.listCustom().ToList();
        }