Recently, for the purpose of the project, I wrote an auxiliary tool to convert an existing ASP site to an Asp.net site.The main steps are as follows: Start from the specified site portal file, scan all the hyperlinks in the page file, and then
Provide several excellent foreign
Source codeDownload Site and ASP learning site
Learning ASP:Http://www.codefixer.com
ASP Forum:Http://forum.snitz.com/forum/Http://www.webwizforums.comHttp://www.webwizguide.info
FYI: http://msdn.microsoft.com/library/default.asp? Url =/library/en-US/dnaspp/html/viewstate. asp
In recent studies, it was found that the value captured by dynamically created controls in the page_load event is the value of the previous
This problem plagued my colleagues last night and was solved by sudden inspiration in the morning.
The "sources" parameter is specified multiple times. Repeated items are not supported for the "sources" parameter.
The problem occurs when the
Preface:
This article is from the official Microsoft mvc3 tutorial. download the latest source code and tutorial in English at http://mvcmusicstore.codeplex.com/( this article is from inxproj. com)
As with the English tutorial, this article will be
1. error message: system. Data. oledb. oledbexception: The operation must use an updatable query.
Solution: grant the everyone write permission to the database directory.
Cause: the NTFS security settings have access permission settings. When a
First
You can call Window Media Player To Play files in formats such as wmv and ASF:
Second
It is used to call replayer To Play files in formats such as RM and ram.
Play box: http://www.real.com "; width = "356" Height = "285">Control Box: can be
It was written a long time ago and stored here.
We generally know how to set response. charset = "UTF-8" is used to ensure that the browser can correctly interpret the page content, and is used to ensure the correctness of the page source code, but
All functions in modern languages can have default parameters. Functions built in VBScript systems can have optional values (such as common split () and so on ), however, this function is not available in our own defined functions.
The following
Tip 1: Improve the efficiency of using the request set
Accessing an ASP set to extract a value is a time-consuming and computing resource-consuming process. This operation contains a series of searches for related sets, which is much slower than
2006-11-26 22:21:38
Large, medium, and smallCause: the new system will be fully used. NET platform development, the previous two years of work are developed using ASP. if the cost is exceeded, the workload is huge, but the subsequent system
Excel export using ASP
Dim S, SQL, filename, FS, myfile, X
Set FS = server. Createobject ("scripting. FileSystemObject ")'-- Suppose you want to store the generated Excel file as follows:Filename = server. mappath ("order.xls ")'-- If the original
Your SQL statementString sqlstr = @ "insert into table (......) Values (......) Select scope_identity () as 'mynewid '";Execute SQLSqldatareader mydr = use the executereader method to execute your SQL statementGet IDMydr. getvalue (0). tostring ()
Class stringoperations
'*************************************** ********************************''@ Function Description: replace a string with a char array.''@ Parameter description:-str [String]: string to be converted''@ Return value:-[array]
Recommendation
============================
ASP dynamic include file
Example: Include ("youinc. asp ")
Function include (filename)
Dim re, content, FSO, F, aspstart, aspend
Set FSO = Createobject ("scripting. FileSystemObject ")
Set F = FSO.
'####################################### ##############
'Function:
'List Server session variable & Application variable
'Author: hard he
'Date:
'Memo: Be care for diffrent using ul path show diffrent session
'####################################### #
Currently, a website using ASP requires a lot of image processing. all third-party components cannot meet my requirements. net. therefore, you need to write components by yourself. I chose VB, but I found some information online. they are not
Today, I made a file download page for ASP testing, using ADODB. stream is used to download files to hide the real path. Because it is a local test, a 63.8m file is used for download testing, but the following error is prompted: response object
Document directory
Features
Attribute
Object
Method
Internal Variable
Code
Instance
Suitable for templates with few loops.
If internal loops are not implemented, regular expressions are required, which is a waste of resources and time. For
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.