private void btnAdd_Click(object sender, EventArgs e) { Product p = new Product(); p.Name = txtProductName.Text; p.Price = Decimal.Parse(txtPrice.Text); p.ProductType = cbType.Text; bs.DataSource = pres.AddNewProduct(p); }