public void updateProduct() { ProductList.DataSource = null; ProductList.DataSource = ProductDBService.getProducts().Tables[0].DefaultView; }
public ProductListForm() { InitializeComponent(); Product.DataSource = ProductDBService.getProducts().Tables[0].DefaultView; }