private void GetSupplier() { if (Int32.TryParse(productIdTextBox.Text, out int ProductId)) { dgvSuppliers.DataSource = Products_SuppliersDB.GetSupplierByProducts(ProductId); } }
private void GetSupplier() { if (Int32.TryParse(productIdTextBox.Text, out int ProductId)) { dgvSuppliers.DataSource = Products_SuppliersDB.GetSupplierByProducts(ProductId); } }