private void Form1_Load(object sender, EventArgs e) { ProductDal productDal = new ProductDal(); dgwProducts.DataSource = productDal.GetAll(); }