ASP Code Snippets


Five different ways to get the computer name in ASP.NET

Advertisements


How to close child window when parent window is closed using JavaScript in asp.net application

This example asp code shows here how to convert from degrees to radians and vice versa

15 May, 2013   

ASP example code shown here how to create a folder called New Folder1

11 May, 2013   

ASP code example using a 301 redirect

20 March, 2013   

ASP code example to block Multiple IP Addresses

20 March, 2013   

ASP code example for Moved Permanently 301 Redirect

This little function comes in handy. There's nothing worse than seeing a site with a copyright out of date.

This example has an ordinal suffix: Sunday 15th July

12 May, 2012   

How to prevent users from selecting past or previous day dates in ASP.Net AJAX Control Toolkit CalendarExtender control. Author of this code is Mudassar Khan

How to disable Future Dates in AJAX Control Toolkit CalendarExtender Control. Author of this code is Mudassar Khan

05 May, 2012   

ASP code example to return a long representing the record count returned by an SQL statement

05 May, 2012   

ASP code example with Sql Statement

Run the script to test whether you have the XMLHTTP Request object installed that comes with any version of the Microsoft XML Parser (MSXML).

29 March, 2012   

ASP code example to check reciprocal link

Scripts used to calculate Daylight Saving Time (DST) for the US and EU. Valid for years 1900 to 2099. [DST wasn't adopted until the 1950s-1960s for US and 1990s for the EU] By: brad degrandis

14 March, 2012   

To find the solutions to the 8 queens puzzle. The puzzle asks "How can you place 8 Queens on a chess board so that no Queen can attack any other queen?" By: Richard Lindsay

16 February, 2012   

ASP code to ban user based on their IP address

16 February, 2012   

ASP code example how to ban a user by IP address

12 February, 2012   

ASP code example for DataList data binding with objects