Information générale
Catégorie:
Formulaires Web
Titre:
What is the best way of clearing controls that are bound?
On my web form there are some textboxes and a dataList. After I clear the recordset with rs.Clear(), how can I update the controls to display no values? The code I have now sets the .Text properties to "" but it is clunky. Also, I don't know what to do with the dataList - it is not being cleared at all.
Should I simply re-load the entire page? If so, how can I do that?
Keith Payne
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement