In forms when using email ID fields it is a good idea to use client side validation along with your programming language validation.The following script shows how you can validate an email address for a form
There are many examples of client side validation of URL fields. The fastest and best way to validate a field is by use of JavaScript’s regular expression object. The hard part is coming up with a good regular expression to validate a URL.
A very common desire is to set a column of a gridview to display just the month, day and year of a DateTime type.The problem is the by default, the HtmlEncode property of the boundfield attribute is set to True