Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime entry in a datagridview
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Datetime entry in a datagridview
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01398476
Message ID:
01398476
Vues:
97
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform