Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting field size from entity object.
Message
 
To
16/11/2007 09:36:09
Tegron Tegron
Platinum Technologies
Ohio, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01269389
Message ID:
01269915
Views:
9
Tegron,

>Is there a way to get the database field size from an entity object?
>
>I want to store this value into the maxlength property of a text control in order to create a business rule to ensure that they don't type beyond this limit.

We don't currently store this information in the entity object, but the MaxLength property is already set for you behind the scenes by MM .NET when you data bind.

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