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