Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to CellValidating Date format DataGridViewTextBoxColumn?
Message
De
14/11/2011 22:04:27
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
How to CellValidating Date format DataGridViewTextBoxColumn?
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01528900
Message ID:
01528900
Vues:
146
Hi all,
I use vb.net , datagirdview(DataGridViewTextBoxColumn). i have a Date format field(DataGridViewCellStyle { Format=d }). (dd/MM/yyyy)

But i don't know how to CellValidating is better.Anyone try to do this ?
I want to + "/" "/" to cell.value when user entry 2 char (Day value), 2 char (Month value) and 4 char(year value), but i can't control user must entry numberic in cell,becuase i havn't find cell keypress event.

After when user entered cell.value and check valid Date.
for example 15/11/2012

Anyone know how to do? Thank you
Répondre
Fil
Voir

Click here to load this message in the networking platform