Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jump Start Lesson not working
Message
De
15/06/2011 09:40:48
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Jump Start Lesson not working
Versions des environnements
Environment:
C# 4.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01514518
Message ID:
01514518
Vues:
100
In the Jump Start: Web Forms Application - C# step 12 the code that is provided for the Page_Load method is not working.

Specifically the lines that store the oOrder.DataSet and the oOrderDetail.DataSet into the Session object.
The oOrder.DataSet and the oOrderDetail.DataSet both return null.
Whereas oOrder.EntityList.Count is 1, oOrder.EntityList[0].OrderID = 10281 (using ROMEY), and oOrderDetail.EntityList.Count is 3.

In other words data is being returned but DataSet does not appear to be getting set and returns "null".

Can anyone tell me if this is a bug or is the code in the documentation wrong?
Is there a correction to the Jump Start section that I am referring too?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform