Versions des environnements
Network:
Windows 2003 Server
>All,
>
> I'm having a problem with a webform that I have created. The webform has a search button, a search field and several textboxes. The textboxes are bound to a dataset. I want to know if there is a way to blank out the textboxes if there are no results found in the dataset. Currently, I set the text property of each control to an empty string. Is there a better way?
Jim,
Remove the textboxes from the viewstate and they will start out blank after each postback.
Précédent
Suivant
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