Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Basic data editing/saving
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00779261
Message ID:
00780413
Vues:
10
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform