CT,
>The weird thing is that this works fine as long as the IsPostBack code is not in the PageLoad method of the code.
Sorry to take so long in responding...I had to do a lot of sifting through code to determine the best solution for you. Try adding the following overload to your ABusinessObject class and see if that fixes the problem:
public override void SetCurrentDataSet(System.Data.DataSet ds, string tableName, bool setRequiredFields, bool raiseEvents)
{
base.SetCurrentDataSet (ds, tableName, setRequiredFields, raiseEvents);
if (tableName == this.TableName)
{
this.StoreDataRow(ds);
}
}
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com