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();
        }