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