Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to CellValidating Date format DataGridViewTextBoxColumn?
Message
From
14/11/2011 22:04:27
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
How to CellValidating Date format DataGridViewTextBoxColumn?
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01528900
Message ID:
01528900
Views:
148
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
Reply
Map
View

Click here to load this message in the networking platform