ASP.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

 

Code Snippets

  

ASP Source Code


Welcome to Dream.In.Code
Become a ASP.NET Expert!

Join 306,811 ASP.NET Programmers for FREE! Get instant access to thousands of ASP.NET experts, tutorials, code snippets, and more! There are 1,692 people online right now. Registration is fast and FREE... Join Now!





ASP



FIFO Class in ASP by Chubber
Submitted: August 7, 2007        Views: 849
A simple First In/First Out storage object.
Submitted: May 18, 2007        Views: 1904
The response object has a built in maximum on memory usage. If you want to push files in the traditional way, that is read it in and then echo it out, you will run into this limit. This sniplet uses chunks to get around this problem. edit 10/09/09: fixed a bug!
LeftPad in ASP by Chubber
Submitted: June 12, 2007        Views: 1675
Left pads the input string to the desired length with the given padding character
MakeCookieID in ASP by Chubber
Submitted: June 12, 2007        Views: 605
The CookieID is a 20 character string that is very unique, serial to generate and of 0-9A-Z construction
Submitted: February 10, 2008        Views: 5232
This is a snippet that can be used to retrieve the CPU ID in VBScript
Submitted: June 25, 2005        Views: 7753
Free for learning
Submitted: March 20, 2009        Views: 356
This ASP.NET script implements SOX compliant password enforcement. In this script passwords must contain minimum of 6 characters and satisfy 3 out of 4 rules below 1.Must contain Special characters 2.Must contain Upper case 3.Must contain Lower case 4.Must contain Numerics
Submitted: February 26, 2008        Views: 1539
This is a snippet I use for making sure a page request is coming from my domain, and that someone isn't trying to hijack my site or page.
Submitted: November 1, 2007        Views: 1462
The snippet will let you retrieve your connection string(or strings) from your web.config file(instead of putting them into each one of your scripts). I found it at http://weblogs.asp.net/owscott/archive/2005/08/26/Using-connection-strings-from-web.config-in-ASP.NET-v2.0.aspx
Submitted: June 25, 2005        Views: 7374
Weekly view free for learning
Submitted: May 15, 2008        Views: 700
This is a snippet done in VBScript that can be used to determine the distance between 2 points. The two points being represented by the Longitude/Latitude of each point
Submitted: October 17, 2007        Views: 1209
This snippet will retrieve the name of the file that it's inside of for you. I found it at http://www.jeremywadsworth.com/Default.aspx?blogentryid=51
LifO Class in ASP by Chubber
Submitted: August 7, 2007        Views: 656
A simple Last In/First Out storage object.
LogEvent in ASP by Chubber
Submitted: June 12, 2007        Views: 994
Open an error message log and append the message to it
Submitted: June 12, 2007        Views: 619
Sending the user permanently. More search engine friendly
Submitted: June 12, 2007        Views: 548
Return a dictionary object built from the query string
Submitted: June 12, 2007        Views: 952
Logic functions that should have been in VB and ASP, but were not.
StripAccents in ASP by Chubber
Submitted: June 12, 2007        Views: 632
Strip any accented characters from a string, replacing them with the non-accented versions.


Submit a Code Snippet and get a chance to win a </dream.in.code> 1GB Thumb Drive!







Live ASP.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

ASP.NET Tutorials

Reference Sheets

ASP.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month