Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting field size from entity object.
Message
 
À
16/11/2007 09:36:09
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01269389
Message ID:
01269915
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform