Some time ago has sent a simple jmail mail email code, today this code to make a specific annotation, and add two other formats of code, with a few simple examples:
The first is Jmail.smtpmail's core code:
Set JMail = Server.CreateObject ("JMail.
Common Security vulnerabilities for ASPs
ASP's vulnerability is already very small, want to find the actual location of the database is not simple, but this does not mean that hackers have no access to, it is this view, the general programmer often
ASP's vulnerability is already very small, want to find the actual location of the database is not simple, but this does not mean that hackers have no access to, it is this view, the general programmer often forget to carefully check whether there
When one day you in your guest book message record to see a very wonderful message, in order to introduce to your netizens, you will consider these messages with a separate page display, so that more Internet users more easily see it? If this is
ASP tutorial. NET C # Double-click events for the ListBox two ways
The listbox's double-click Event, on the foreground page the listbox is not double-clicked, so it is added through the script as follows:
Place a control on the foreground page,
ASP tutorials Solution for the. NET Crystal Report icon not shownSometimes in the Crystal report to add a pie or bar chart, the page display fork, that is, the picture has no output, the solution is as follows:
Add the following node to the
ASP tutorial. NET Super Large File Upload method
asp.net tutorial Large file upload is an imperfect and flawed field that is believed to be improved and developed in the near future if you have solved it by stating that you are in a good company,
ASP tutorials. NET C # array traversal, sorting, delete elements, inserts, random elementsArray traversal
short[] sts={0,1,100,200};
for (int i=0;i{
if (STS[I]>50)
{
.....
}
}
Array random elements
Public hashtable noorder
ASP tutorials. NET 4.0 includes a series of new run-time features that are optimized for SEO tutorials for Web site optimization. The previous article has said: Page.metakeywords and Page.metadescription properties and asp.net tutorial Web Forms
in ASP tutorial. NET's JSON processing, it is common to encounter the use of single quotes or other special characters, which, if used directly, truncate the JSON data, causing the JS error to run incorrectly.
In fact, as long as the use of the web
JSON is a data format designed specifically for Web page special effects code that runs on a Web page in a browser. There are more and more scenarios for using JSON in Web apps, this article describes the serialization and deserialization of JSON in
ASP tutorial. NET to prevent the download of Chinese file names appear garbledPrevent the download file name in Chinese name and appear garbled available UrlEncode*///
Response.AddHeader ("Content-disposition", "Attachment;filename="
ASP tutorials. NET pseudo-static implementation and two-level domain name Universal parsing
App.context.rewritepath (Path, String.Empty, Strb.tostring (). Split ('? ') [1]);In Web.config configuration:
Add the following code.
ASP tutorial. NET C voting system (anti-brush function)This article is the use of the ASP.net tutorial mssql made a brush voting system, he was using cookies to achieve.*/
using System;Using System.Configuration;Using System.Data;Using
By using several time functions, you can simply complete the 2000 countdown function on the ASP web page. By changing the parameters of the Cdate function, you can complete the countdown of other dates.The source code of ASP is as follows: 2000
I. Dynamic hierarchical directory and its featuresThe so-called hierarchical directory is actually no stranger to everyone. People who are familiar with Windows operating systems must have an impression on the resource manager of the Windows file
The ASP. NET Web Matrix Project (Reloaded !)--------------------------------------------------------------------------------ASP. NET Web Matrix is a community-supported, easy-to-use WYSIWYG application development tool for ASP. NET. it can be
Response. write getCode (10) 'to get a random string with a length of 10.Function getCode (iCount)Dim arrCharDim j, k, strCodeArrChar = "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ"K = Len (arrChar)RandomizeFor I = 1 to iCountJ = Int (k * Rnd) + 1StrCode =
##### Copyright reprinted. Please keep it. Thank you for your cooperation.##### Some programs are taken from the network##### Author: Yangzi##### Email: yangzinet@hotmail.com##### QQ: 21112856##### WebSite: www.tingfo.netFour pages in total: form.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.