November 2010 - Posts

0
Comments

Calculate Age in Years, Months and Days from Date of Birth by Rajneesh Verma

Easily you can get Age from date of birth using SQL query as below:   DECLARE @ date datetime, @tmpdate datetime, @years int , @months int , @days int SELECT @ date = '10/25/1981'   SELECT @tmpdate = @ date   SELECT @years = DATEDIFF(yy...
Filed under:
2
Comments

Get all dates between two dates by Rajneesh Verma

As for question if i want to get all dates between two dates. For example i want all dates between 01/jan/2010 and 31/Dec/2010 we need to write SQL Query as below:     DECLARE @StartDate DATETIME, @EndDate DATETIME   SELECT @StartDate ...
Filed under:
7
Comments

ASP.NET Popup Login control using DIV and CSS by Rajneesh Verma

This is my first blog. is there any mistake please forgive me. As i have seen that most people ask for Popup Login control in ASP.NET to achieve this their are number of ways but simplest method is to use DIV and CSS. First create login control in ASP...
More Posts