Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable the Addnew button after click ?
Message
De
01/12/2010 05:40:52
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
 
 
À
01/12/2010 05:31:47
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01491331
Message ID:
01491343
Vues:
26
Hi,
I set the code in the Addnew button click event.
theBindingSource.AllowNew = false

but it return an error that "Item cannot be added to a read-only or fixed-size list."

May be this code should put in other events.

Derek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform