Asp+|rss|xml
RSS resources: " onfocus " =select () > Double-click the mouse to close the summary, showing only the titleIf (Request ("rssfeed") = "") ThenUrl= "/rss2.asp"ElseUrl=request ("RssFeed")End If
Set XML = Server.CreateObject
Example Demo: First create a simple database, write a function read it, write a Dim variable Temp:
ASP code
The following are the referenced contents:Function Displayrecords ()Dim SQL, Conn, RSsql = "SELECT ID, [Szd_f], [szd_t] from
In almost every site we have to use programs to output lists: News listings, product lists, and so on, the way the output is different from the content, for news listings, usually a row of the cycle output; For a product list, the output of one cell
Web page
get URL text
url
This is urlgetmsinet.asp.
get URL text
' Set obj = CreateObject (' Inetctls.inet ')
Set obj = Server.CreateObject ("Inetctls.inet.1")
Obj. Requesttimeout=20
Srequest = Trim (Request
Td=date ()
' This is to set the current date, mainly for debugging convenience, the actual application can use the day date.
Str= "123456 Days"
' Generate a specific number of weeks, depending on the location of the string can be taken.
For X=1 to 7
asp+| Programming | server | syntax | server/*
Article Source: http://www.aspCool.com reprint Please specify, thank you!
*/
Manipulating the events of a server control
Each asp+ server control has its own properties, methods, and events. Asp+
The Server.Transfer method transfers the execution process from the current ASPX file to another ASPX page on the same server. When Server.Transfer is invoked, the current ASPX page terminates execution, and the execution process is transferred to
Programming | Advanced 5.5.1 ways to create TextStream objects
There are three common methods for creating or opening a text file and returning the Textstram object, as shown in table 5-13:
Table 5-13 methods and descriptions for creating TextStream
The asp.net compilation error type "exists in" a different DLL. There are probably three cases of this error:
1, aspx page, a *. ASPX, corresponding to a *.cs file, the two are actually a file, through the two code separation, each *.aspx page
Learning Objectives: Learn to use the Accees database and create a database of guest books to be used in the future.
first of all, you want to install Office Accees (my demo is Office XP version), the installation process is not said here, the
Programming | Advanced (1) code to traverse the Contents collection
To traverse the Contents collection, you can use a For each ... Next structure. Each item in the collection can be a simple variant type variable, a Variant array, or a reference to
asp+| Programming | server | control | syntax | server | control/*
Article Source: http://www.aspCool.com reprint Please specify, thank you!
*/
Using a custom server control
With 45 server controls available in asp+, we can use them like black boxes.
Control of asp+| difference Automatic maintenance state
Author: green Apple Computer Studio
How do asp+ help us in the usual situations? The following list shows the use of the asp+ server to control the automatic state
The changes that are needed.
In ASP, you can invoke the program from VBScript and other means.
Instance:
Calling subroutines that use VBScript
How to invoke a subroutine written in VBScript from an ASP.
The following are the referenced contents:Sub Vbproc (NUM1,NUM2)
Cookie|cookies|object|request|cookie
Cookies
The Cookies collection allows the user to retrieve the value of the cookie sent in the HTTP request.
Grammar
Request.Cookies (cookie) [(key) |. Attribute
Parameters
Cookies
Specifies
Appendtolog|object
AppendToLog
The AppendToLog method adds a string to the end of the WEB server log entry. You can call the method multiple times in the same part of the script. Each time the method is invoked, the specified string is added to the
See on the net, a lot of friends do urlrewrite in asp.net, use Httphandle+server.transfer method. In fact, this method is wrong. First, the httphandle can not achieve the Urlrewrite, the second server.transfer is the standard redirect, is not
Object|redirect
Redirect
The Redirect method causes the browser to attempt to connect to another URL.
Grammar
Parameters
Url
The Uniform Resource Locator (URL) to which the browser is redirected.
Comments
Any response body
First, create a table Tiku_koushi
if exists (SELECT * from dbo.sysobjects WHERE id =OBJECT_ID (N ' [dbo].[ Tiku_koushi] and ObjectProperty(ID, N ' isusertable ') = 1)drop table [dbo]. [Tiku_koushi]Go
CREATE TABLE [dbo]. [Tiku_koushi] ([ID] [int]
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.