Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NET For VFP Developers Book - Problem with Example Code
Message
 
To
22/07/2003 16:46:16
Jan Tervonen
Mammography Reporting System
Seattle, Washington, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00812181
Message ID:
00812579
Views:
20
Jan,

Try setting a breakpoint right after you retrieve the data from the Session object. See if the DataSet is populated. Do you have cookies turned on for your browser??

>Hi Cathy,
>
>More info...I'm guessing the problem has to do with persistence?
>
>I did a little test, and found that if I add a line of code in the Click event to execute GetOrderObj.GetOrderByOrderID() filling it in with a hard-code paramenter, then it seems to work. Obviously not the correct approach though.
>
>In the Page_Load event on page 337, I did verify that the following line is intact:
>Session("OrderDataSet") = dsOrder
>
>And in the Click event on page 339, the following command is there:
>Dim dsOrders As DataSet = CType(Session("OrderDataSet"), DataSet)
>
>It sure seems as if this information is not being transferred correctly, however.
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform