Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bound Controls.
Message
De
23/01/2005 09:55:41
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
21/01/2005 14:12:49
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00979398
Message ID:
00979796
Vues:
23
>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
Fil
Voir

Click here to load this message in the networking platform