Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Postbacks
Message
De
04/08/2004 19:52:14
 
 
À
04/08/2004 19:44:08
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00930853
Message ID:
00930856
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform