Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Regular expression to validate date in mm/dd/yyyy format in JavaScript

Jul 25, 2012 9 comments
Introduction:

Here I will explain how to calculate age of person from date of birth and regular expression for mm/dd/yyyy format using JavaScript.

Description:

In some situation we need to display age of person based on date of birth .In that situation we can calculate age of person using JavaScript by comparing present date and date of birth as shown below. Here I have a one textbox every time I need to validate that data whether user enter valid data or not if the date not in mm/dd/yyyy format or not.

Regular expression for mm/dd/yyyy date format is


re=/^(0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d+$/;
If you want to implement code for calculate age of person using javascript design your aspx page like this

how to find ip address in asp.net behind proxy in c# vb.net

14 comments
Introduction

In this article I will explain how to find system or client machine IP address from which user visited the website in asp.net behind proxy in c# and vb.net.

Description:
  
In previous posts I explained JavaScript Get User IP Address, City, Latitude, Longitudehow to find client machine IP using jquery in asp.nt relating to JQuery. Now I will explain how to get system or client IP address of machine from which the user visited the website in 
asp.net in c# and vb.netTo implement this one write the code as shown below

how to get-find ip address of client machine in asp.net using jquery

7 comments
Introduction

In this article I will explain how to get or find IP address of client machine in asp.net using JQuery.

Description:
  
In previous posts I explained many articles relating to
 JQuery. Now I will explain how to get client machine IP address of client machine in asp.net using jquery. To implement this one write the code as shown below

JQuery Scroll to top button,Back to top button option on webpage in asp.net

Jul 24, 2012 4 comments
Introduction:

In this article I will explain how to show Back to Top or Scroll To Top button option in website using JQuery when user scroll down webpage in asp.net.
Description:
  
In previous posts I explained many articles relating to JQuery. Now I will explain how to show Back to Top or Scroll To Top button options in website when users scroll down webpage. In many sites we will see option like Back to Top or Scroll To Top button option when we scroll the webpage down this type of functionality we can implement easily by using JQuery when scrollbar top position greater than certain value. To implement this one write the code as shown below

Change-Reduce size of jquery datepicker in asp.net

0 comments
Introduction:

In this article I will explain how to reduce or change size of JQuery UI datepicker control or calendar control in asp.net.
Description:
  
In previous post I explained many articles relating to JQuery UI datepicker. During work with JQuery UI Datepicker I face problem to reduce or change the size of datepicker control in asp.net at that time I decided it’s better to write article on this. By default if we use JQuery UI datepicker control it will like this

Regular expression to validate phone number using jquery in asp.net

Jul 23, 2012 6 comments
Introduction

Here I will explain how to validate phone number with regular expression using Jquery in asp.net.

Description:
  
In previous articles I explained validate email address using JQuery in asp.net and many articles relating to JQuery. Now I will explain how to use regular expression to validate phone number using JQuery in asp.net.

To implement this one we need to write code as shown below in your aspx page

jQuery Email Address Validation with Regular Expression in Asp.net

3 comments
Introduction

Here I will show how to validate email address using jQuery with regex or regular expression or validate email address in jquery using regular expression or email validation using jQuery in asp.net.

Description:
  
In previous articles I explained how to disable or enable all the controls on page using JQuery and many articles relating to JQuery. Now I will explain how to use regular expression to validate email address using JQuery in asp.net.

To implement this one we need to write code as shown below in your aspx page

Enable-disable selected or particular controls on a page using JQuery in asp.net

2 comments
Introduction

Here I will explain how to enable or disable selected or particular controls on a page using JQuery in asp.net.

Description:
  
In previous articles I explained how to disable or enable all the controls on page using JQuery and many articles relating to JQuery. Now I will explain how to disable or enable only selected or particular controls on webpage using JQuery in asp.net.

To implement this one we need to write code as shown below in your aspx page

JQuery how to disable/enable all the controls on asp.net page

2 comments
Introduction

Here I will explain how to disable or enable all the controls in page using JQuery in asp.net.

Description:
  
In previous articles I explained Bind gridview using JQuery in asp.net  and AutoComplete textbox with JQuery using asp.net and many articles relating to JQuery. Now I will explain how to disable or enable all the controls in webpage using JQuery in asp.net.

To implement this one we need to write code as shown below in your aspx page

Difference between char varchar and nvarchar in sql server

Jul 22, 2012 32 comments
Introduction:

In this article I will explain what is the difference between char, varchar and nvarchar in SQL Server.

Description:

In previous post I explained many articles relating to SQL Server. Now I will explain the differences between char, varchar and nvarchar in SQL Server. Actually one of blog reader has asked me question regarding differences between varchar and nvarchar at that time I decided it’s better to write article on this topic.

Char DataType

Char datatype which is used to store fixed length of characters. Suppose if we declared char(50) it will allocates memory for 50 characters. Once we declare char(50) and insert only 10 characters of word then only 10 characters of memory will be used and other 40 characters of memory will be wasted.
© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.