Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox and Field Length
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01209282
Message ID:
01211884
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform