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 18:31: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:
00812586
Views:
15
Hi Jan,

Does the DataSet get filled with data after you retrieve the Session object and populate the DataSet? I'm thinking that Session variables are not working properly on your machine.

>Hi Cathi,
>
>Thank you for being so prompt in your responses. And by the way, I realized I've been misspelling "Cathi". Sorry.
>
>This sure is frustrating! Yes, I changed my Internet settings to accept all cookies, and still have the same problem.
>
>I turned on the debugger as suggested, and yes, dsOrders does seem to be populated at the top of the Update button's Click event. Further on in the code it is able to call dsOrders.SaveDataSet method. It is in that method that the error occurs.
>
>The debugger says that "DataAdapter" has a value of "nothing" when SaveDataSet method runs. Thus, the error.
>
>On the Page_Load event, the GetDataSet method seems to fill DataAdapter, but then it gets lost by the time the Update button's click event fires.
-----------------------------------------

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