Here is my code in my Submit:
private void Submit1_ServerClick(object sender, System.EventArgs e)
{
// Get a reference to the Employee business object
Employee oEmployee = (Employee)this.GetBizObj(typeof(Employee));
// Get the persisted Employee record
DataSet dsGetEmployee = (DataSet)Session["dsGetEmployee"];
// Save the DataSet, which causes all two-way bound controls to
// save their data into the employee record
oEmployee.SaveDataSet(dsGetEmployee); <--------
}
I can't get this to work in VS.NET 2002/MM.NET BETA 9 - I keep getting "Object reference not set to an instance of an object."
It keep pointing to the last line. Any Ideas?