Welcome To Snipplr


Everyone's Recent ASP Snippets



quick way to strip the rtf data so you have clean text
0 1309 posted 15 years ago by cartercole
<asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath &lt;form&gt;
0 1391 posted 15 years ago by rumremix
Changing the connection string in the web.config to allow zero date and converting it prevents this error.
0 1652 posted 15 years ago by jink
Add the System.Data config settings for MySql. Update the version to number referenced.
0 1216 posted 15 years ago by jink
This is useful when you need to add logic to static html page.
0 1141 posted 15 years ago by Meander365
1 1501 posted 15 years ago by wizard04
This script works good condition, and not use "oAuth". Your should get username and password with cleartext (standart html controls) without authentication and just add them into variables in your code... (twitter_username and twitter_password) A...
0 1305 posted 15 years ago by emregulcan
This function checks to see if two arrays are equal
1 1373 posted 15 years ago by jlvallelonga
A small collection of the most wanted string-functions in ASP / VB.
1 1593 posted 15 years ago by choasis
There are free exchange rates data that are easy to retrieve and parse, here is the code of a mini webbot written in ASP that goes out on Bank of Italy site, get the exchanges rates and print them.
2 1617 posted 15 years ago by ginoplusio
1 1260 posted 16 years ago by timshingyu
1 1336 posted 16 years ago by rflying
This function returns the array with all instances of the specified value removed
1 1488 posted 16 years ago by jlvallelonga
I modified this helpful snippet: http://snipplr.com/view/9904/aspdropdownlist-us-states-abbreviated/ to work for the Telerik RadComboBox control.
0 1280 posted 16 years ago by sonofabit
Functions to make using regular expressions a bit easier. They're named after the respective PHP function.
2 1681 posted 16 years ago by wizard04
Checks if an array has been initialized, even if it is a dynamic array.
1 1512 posted 16 years ago by wizard04
Learn how to emulate ASP.NET's AppendFormat method in Classic ASP. AppendFormat is essentially a simple form of concatenation in ASP.NET.
1 1623 posted 16 years ago by neal_grosskopf
Call AddKeepAlive() in Page_Load of the page that needs it. Change the path to the correct keep alive page. Page should disable caching, like in second code snippet.
2 1640 posted 16 years ago by jink
Replace *SERVERNAME* with the name of the server name in the web.config
2 1569 posted 16 years ago by jink
Code snippet prevents caching of the page by setting http header values and a LAST MODIFIED header to prevent google from caching too long. This should go into the page load event.
1 1475 posted 16 years ago by jink
Super simple output of browser version. Redundantly outputs the same info using both asp and javascript.
0 1435 posted 16 years ago by squaretone
A quick and easy function that will output table column names and loop through your SQL recordset results outputting it into a HTML table.
2 2061 posted 16 years ago by neal_grosskopf
0 1124 posted 16 years ago by spark9
0 1009 posted 16 years ago by spark9