Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating datasource of validating cell in cellvalidating
Message
 
À
28/12/2010 15:37:31
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Vista
Network:
Windows XP
Database:
Jet/Access Engine
Divers
Thread ID:
01494012
Message ID:
01494086
Vues:
45
>You could always pad in your DataAcess class, before you actually save the field to the database table. Will that work for you?
>
>~~Bonnie

Right... or handle the cellvalidated event in the base class, which is more generic. :).
>
>
>
>>Is there a way to update the underlying bindingsource of the cell that is current in cellValidating? (i.e. without handling the cellvalidated event)?
>>Assume you have a field that has 4 characters declared as string, but that contains a numeric value. If your user enters "5", you want to save " 5".
>>It seems that you can update all the other cells in the way I need , but not the one that is current. It makes sense, but it's a pain no less. Any suggestions? I would find it kind of overkill to implement cellvalidated just for this.
>>Thanks.

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform