Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 1st, 2006, 01:08 PM
Authorized User
 
Join Date: Jan 2006
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Validating a text box

Hi I want to validate a textbox for people to input a textbox. How does one do this. Im using a Regular Expression Validator and want the format to be dd/mm/yyyy. What is the format for this.
Thanks.
 
Old February 19th, 2006, 05:38 AM
Wrox Technical Editor
 
Join Date: Dec 2005
Posts: 271
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think this statement may require a little more clarification:
"I want to validate a textbox for people to input a textbox"..


- A.Kahtava
 
Old March 25th, 2007, 01:52 AM
Friend of Wrox
 
Join Date: Dec 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi
you can use maskedTextBox instead of Text box
drag a MaskedTextBox from toolbox into your Form
and set mask property of it to 00/00/0000
enjoy it
kiani,mehdi





Similar Threads
Thread Thread Starter Forum Replies Last Post
[:D]Simple Method of Validating text boxes[:D] samnikh VB Databases Basics 0 June 29th, 2005 09:26 PM
Validating Text in JText javanewbie05 Java GUI 3 June 23rd, 2005 08:35 AM
Validating Template Text box aleahy BOOK: Beginning ASP.NET 1.0 0 November 11th, 2003 11:22 AM
validating rich text field for attachment Mimi Javascript How-To 4 August 25th, 2003 03:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.