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

You need to place a breakpoint inside of the btnUpdate_Click method and check the dsOrders DataSet just after the line

Dim dsOrders As DataSet = CType(Session("OrderDataSet"), DataSet)

Make sure the DataAdapter property is populated with an actual DataAdapter object.

You might also want to create a new Session object and just put a string in it. Save it in the Page_Load, just like the saving of the DataSet is done. Then in the btnUpdate_Click method try to retrieve the string. I really think your problem is that your machine is not configured to use Sessions.

>Hi Cathi,
>
>I checked just before the "OrderObj.SaveDataSet(dsOrders)" command is executed, and yes, dsOrders does have data. For example, dsOrders.Tables(OrderTable).Rows(0)("ShipCountry") is filled with the country name displayed on the screen.
-----------------------------------------

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