Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jump Start Lesson not working
Message
From
15/06/2011 09:40:48
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Jump Start Lesson not working
Environment versions
Environment:
C# 4.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01514518
Message ID:
01514518
Views:
99
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?
Next
Reply
Map
View

Click here to load this message in the networking platform