Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP/ADO vs ASP.NET/ADO.NET maxlength
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Web forms
Title:
ASP/ADO vs ASP.NET/ADO.NET maxlength
Miscellaneous
Thread ID:
00961833
Message ID:
00961833
Views:
43
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
Reply
Map
View

Click here to load this message in the networking platform