protected void btnSaveFabricante_Click(object sender, EventArgs e) { if (String.IsNullOrEmpty(txtManufacturer.Text)) return; var productManager = new ProductManager(this); productManager.InsertProductManufacturer(productId, new ProductManufacturer { Name = txtManufacturer.Text }); grdManufacturer.DataBind(); txtManufacturer.Text = String.Empty; }