Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox and Field Length
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01209282
Message ID:
01211884
Vues:
20
Dan,

>They are char fields in a SQL Server table. But for short fields (20 or less) I prefer to use char instead of varchar. There has to be another way...

I have thought about adding an AutoTrim property to the TextBox to get around this, but you run into a problem with "dirty data" indicators when you chop off the trailing spaces. It sees the column as changed. If you can think of an implementation that resolves this issue without introducing this problem, I'd be happy to implement it at the MM .NET Framework level!

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform