Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business rules messages
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00847469
Message ID:
00848415
Views:
9
Ah Ha! The light comes on...

Thanks,
Chris.


>Chris,
>
>Here's some sample code from the Web Forms Jump Start section of the MM .NET Dev Guide:
>
>
private void btnSave_Click(object sender, System.EventArgs e)
>{
>	DataSet dsOrder = (DataSet)Session["dsOrder"];
>
>	if (this.Save(this.oOrder, dsOrder, this.oOrder.TableName) ==
>		mmSaveDataResult.RulesPassed)
>	{
>		Response.Redirect("CustomerOrders.aspx");
>	}
>}
>
>Rather than calling the business object's SaveDataSet method directly, you can call the MM .NET Web Form's Save() method instead which handles displaying broken rules for you!
>
>Regards,

chris jefferies
chris@freeranger.com
Previous
Reply
Map
View

Click here to load this message in the networking platform