General information
Category:
The Mere Mortals .NET Framework
Environment versions
Network:
Windows 2003 Server
Hi Mike,
I ended up overriding mmBaseForm_Closing and using .RejectChanges() on the table I didn't want to update. Not what I would consider an elegant solution, I would much rather prefer that the business object took responsibility for which tables where to be saved, but it works all the same so now I can move on to the next challenge :)
protected override void mmBaseForm_Closing(object sender, CancelEventArgs e)
{
DataSet ds = oPrimBizObj.GetCurrentDataSet();
DataTable nonMembers = ds.Tables[oPrimBizObj.NonMembersTable];
nonMembers.RejectChanges();
base.mmBaseForm_Closing(sender, e);
}
Thanks for your help,
Andrew
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only