Validation in ASP.NET
Details Related Types
Site:  ASP Alliance
Original URL:  http://www.aspalliance.com/wisemonk/view.asp?vtype=tutorial&id=TN092101
Summary:
When you have a form that user's submit data, its important that they don't mess it up and enter weird stuff. Validation stops this but in ASP it was a tedious job of If statements to work out. I myself had a simple form that added users to a database, it had a heck of a lot of if statements. ASP.NET introduces - Validation Controls. These controls are just like Web Controls and can do many things like - Check if a field is filled out, Compare a field to something (or another), Use regular expressions on a field, Check to see if a field is within a certain range, you can even create your own!
System.ComponentModel.Design.DisplayMode
System.EventArgs
System.Web.UI.WebControls.CompareValidator
System.Web.UI.WebControls.CustomValidator
System.Web.UI.WebControls.DropDownList
System.Web.UI.WebControls.ListBox
System.Web.UI.WebControls.RadioButtonList
System.Web.UI.WebControls.RangeValidator
System.Web.UI.WebControls.RegularExpressionValidator
System.Web.UI.WebControls.RequiredFieldValidator
System.Web.UI.WebControls.ServerValidateEventArgs
System.Web.UI.WebControls.TextBox
System.Web.UI.WebControls.ValidationSummary
System.Windows.Forms.ListBox
System.Windows.Forms.TextBox
System.Windows.Forms.ToolBar
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com