Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime entry in a datagridview
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Datetime entry in a datagridview
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01398476
Message ID:
01398476
Views:
94
Any suggestions for doing formatted data entry of datetime fields in a datagridview? I just want the date part and I want the slash marks to fill in automatically when the user enters the date for a new record. I tried setting the columntype as a MaskedTextBox but it seems to expect the data field to be a string. I get an error when I try to enter a date in a new record. I also tried setting the format to d in the DataGridViewCellStyle. That still doesn't show the slashes for entry of dates on a new row. I'm willing to buy something if somebody has a good recommendation. Thanks.
Linda Harmes
HiBit Technologies, Inc.
Reply
Map
View

Click here to load this message in the networking platform