private void btnSave_Click(object sender, System.EventArgs e) { // Retrieve the original DataSet from the Session variable DataSet dsOrder = (DataSet)Session["dsOrder"]; // Call the Web Form's Save method, passing the business object and the original data. // The business object raises a Saving event and all bound Web controls // bind their data back into the DataSet if (this.Save(this.oOrder, dsOrder, this.oOrder.TableName) == mmSaveDataResult.RulesPassed) { Response.Redirect("CustomerOrders.aspx"); } }If there are any broken rules, these are automatically displayed for you. You can also call the mmBusinessWebPage's DisplayBrokenRules() method directly.