Re: Validate!

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Arpan" <arpan_de@xxxxxxxxxxx> wrote in message
news:1129943621.595475.319990@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> How do I validate a textbox to ensure that not more than 16 characters
> are entered in it in the TextBox_Validate event?

Forget Validate; set the .MaxLength property to 16

--
Reply to the group so all can participate
VB.Net: "Fool me once..."

.



Relevant Pages

  • Formula to validate characters within a string of data in a particular cell
    ... I can check one cell against another cell ... I need to validate that names are entered correctly in a spreadsheet ... First 2 characters indicate the country ... Second 2 characters indicate the location ...
    (microsoft.public.excel.misc)
  • Re: OT URL REGEX
    ... It is easy to validate a url just have to lnow what is ... dynamic and which characters in the url need to be excaped. ... Prev by Date: ...
    (alt.php)
  • Re: Regular Expressions: How to check for these characters?
    ... >> These characters are not allowed in file names, that is why I need to ... >> validate if file names dont contain these characters. ... >> ' Validates if certain characters exist inside a string expression. ... >> Dim oReg As New RegExp ...
    (microsoft.public.vb.general.discussion)
  • Re: Data Validation: two conditions
    ... The op wants the last 3 characters to be ###. ... >> Can I do this with data validation? ... >validate the two components? ... >> MVP Microsoft Word and Word for Mac ...
    (microsoft.public.excel.worksheet.functions)
  • Re: A potentially dangerous Request.Form value was detected from the client
    ... It looks like I need to validate the textbox in the ... I was thinking of doing a search/replace on the user's entries for the ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet)