Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NET For VFP Developers Book - Problem with Example Code
Message
 
To
24/07/2003 16:02:43
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:
00813282
Views:
10
Hi Jan,

With you testing then it confirms that Session objects are working okay. Put a breakpoint at the top of the SaveDataSet method in the Data.vb file. See if ds is of type CDataSet. Trace it through this method to see if it gives any clues to what might be happening.

Have you tried instlling the sample files and running them? Do they work?

>Hi Cathi,
>
>I placed a breakpoint after the line of code you mentioned. dsOrders exists, however, I'm not seeing a property called DataAdapter. Am I looking on the wrong place?
>
>I tested the session object as you suggested, and it works fine.
>Just as the Session("OrderDataSet") command in the Page_Load method I added a line of code similar to what's found on page 317:
>Session("ISBN") = "Test line"
>
>In the btnUpdate_Click method I retrieved the line with:
>Dim ISBN As String = Session("ISBN")
>In the debugger just after this line of code, ISBN is set to "Test line"
-----------------------------------------

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