Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Postbacks
Message
From
04/08/2004 19:52:14
 
 
To
04/08/2004 19:44:08
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00930853
Message ID:
00930856
Views:
20
Hi Jim,

I'm no Web expert, so I won't be able to help much in too much detail, but I believe your problem may be that you need to persist your DataSet to a Session variable.

~~Bonnie


>All,
>
> I have a webform that allows the user to check off items and save them to a table. I am using a CheckListBox to do this and it's bound to a datatable in my dataset. The problem I am having is that when there is a postback triggered by the user clicking a save button I lose all records in the datatable which causes the checklistbox to be bound to nothing. Is there a way to prevent this from occurring? The viewstate of the control is set to true.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform