Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP/ADO vs ASP.NET/ADO.NET maxlength
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires Web
Titre:
ASP/ADO vs ASP.NET/ADO.NET maxlength
Divers
Thread ID:
00961833
Message ID:
00961833
Vues:
44
Using ASP and ADO we can limit the length of a user entry dynamically, based upon the field length being addressed. You could also hard code it but that is impossible to deal with in our environment as everything is in a state of change or about to be changed!

Now with ASP.NET and ADO.NET I would like to do something similar. In ASP/ADO to the code of say a text box you would add:
Maxlength = “< %=oRS.fields(“Date”).definedsize % >”
Can this be accomplished with ASP.NET/ADO.NET? I could just set the maxlength of the object but that is my last choice.

Any suggestions?

Tom
Répondre
Fil
Voir

Click here to load this message in the networking platform