예제 #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            ProductDal productDal = new ProductDal();


            dgwProducts.DataSource = productDal.GetAll();
        }
예제 #2
0
 private void LoadProducts()
 {
     dgvProducts.DataSource = _productDal.GetAll();
 }
예제 #3
0
 private void ShowAllItems()
 {
     dgwProducts.DataSource = _productDal.GetAll();
 }
예제 #4
0
 private void ProductsLoad()
 {
     dataGridView1.DataSource = _productDal.GetAll();
 }
예제 #5
0
파일: Form1.cs 프로젝트: smhblk04/Csharp
 void LoadProducts()
 {
     dgwProducts.DataSource = _productDal.GetAll();//dgwProducts'in veri kaynagi olarak productDal'daki GetAll() method'unu gosterildi.
 }
        private void Form1_Load(object sender, EventArgs e)
        {
            ProductDal productDal = new ProductDal();

            dataGridView1.DataSource = productDal.GetAll(); // DataSource diyerek bu grid formunun veri kaynağını productDal nesnesi yaptık.
        }
예제 #7
0
 private void UpdateTable()
 {
     dgwProducts.DataSource = _productDal.GetAll();
 }
예제 #8
0
 private void Form1_Load(object sender, EventArgs e)
 {
     DatagGridView1.DataSource = _productDal.GetAll();
 }