[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Update, true)] public bool InsertProduct(string product, string description) { CaseManager.App_Data.CaseManagerDataSet.t_ProductsDataTable pDT = new CaseManager.App_Data.CaseManagerDataSet.t_ProductsDataTable(); CaseManager.App_Data.CaseManagerDataSet.t_ProductsRow pRow = pDT.Newt_ProductsRow(); pRow.Product = product; pRow.Description = description; pDT.Addt_ProductsRow(pRow); int rowsAffected = ProductsAdapter.Update(pDT); ProductsAdapter.Adapter.Update(pDT); return (rowsAffected == 1); }