Data | Database paste a section of ASP and WML query database code, we refer to the reference, in fact, with ASP to write a Web page very similar.
Dim Conn, RS
Dim Strsql,strfirstname, strLastName
Set conn = Server.CreateObject (
session| Statistics | online | Online number The most commonly used method is Golobal.asa combined session, but this method has two disadvantages:
1, each session to occupy 12k of server memory space, in order to the number of +1 will pay the
fso| Skills
In this program is the mid function, the function is to return a string from the first few characters in the beginning. The format is: Mid (string,start,length)
Learned the FSO to extract the file value, but also learned to input the
fso| Skills
But imagine: if not "110", but "1100", that is not to extract 4 bits ... This shows that the procedure is not perfect.
So keep thinking: the extracted value is always after the letter "a", and the value is always between the letter "a"
fso| Skills
one, FSO. GetFile
Extracts files corresponding to the file object
1,getfile. Asp
set fso = CreateObject (" Scripting.FileSystemObject ") set f1 = fso. CreateTextFile (whichfile,true) f1. Write ("This is a test". My Name is
Asp.net|asp.net Global.asa must be placed in the root directory of the site
Global.asa
----------------------------------------------------------------------
-------------------------------------------------------------------------
Count_txt.asp
-
asp.net|web| Security (1) in Web.config configuration
Modify options in
The validation mode is set to form and the validation page is
Do not allow anonymous users
After add a page that does not validate to use the database to access the
Asp.net|window If you configure ASP.net to use Windows authentication, IIS uses the configured IIS authentication mechanism to perform user authentication. The steps for enabling Windows authentication are as follows:
(1) Configure the Web.config
Generate html| Generate HTML Function getpage (URL)
Dim retrieval
Set retrieval = CreateObject ("Microsoft.XMLHTTP")
With retrieval
. Open ' get ', url, False ', ' ', ' ', ' '
. Send
GetPage = Bytestobstr (. Responsebody)
End With
Set retrieval =
Asp.net| Program
As you all know, it's not easy to implement a 24*7-24x7 application. One of my projects had been stuck in a violent load for more than 20 hours after a heroic fall. Luckily, ASP. NET and IIS provide us with some simple facilities
excel| Export excel| Data
first, the use of OWC
What is OWC?
OWC is the abbreviation for Office Web compent, Microsoft's Office Web Component, which provides a flexible and basic mechanism for drawing graphics on the web. In an intranet
asp.net| Troubleshooting If IIS is later installed, it needs to be first. NET executes the aspnet_regiis-i in the command tool, installs the ASP. NETFramework
Then check the configuration below:
If IIS is not installed later, check the following
Template An example of a template from a class to an instance
This class still has a lot of imperfections (such as efficiency), I hope we discuss together, master a lot of correct.
---------------------------------------------------------------------
Think of yourself to learn ASP probably also have some time. Since the beginning of 2002, I've heard of this stuff (even good dishes), to start to contact her is already 2002 November (time passed really fast), from the difficult to step out of the
Asp.net|css
Multi-interface by enabling pages to dynamically load different CSS
Method One:
c#
Change the interface by dynamically setting the style of all the same controls on the page:Method Two:You can easily set and modify the style of a
'----------get content remotely and have the content on the local computer, including any files! ----------
'---------------use XMLHTTP and adodb.stream, cool! Absolutely original! -----------------
' On Error Resume Next
' Set ' the content type
Program | disconnect | recordset | Data we are using ASP's built-in ADO component for database programming, typically, you open a connection at the beginning of the script and close it at the end of the script, but in most cases the connection is
Asp.net| resolved yesterday to write ASP.net program, where the Get method passed parameters, such as: http://127.0.0.1/showerror,asp?ErrorMessage= database error
In the program I use:
String
Program Landing Page Login.asp:
If request. Form.count>0 Then
Session ("username") =request ("username")
Application (Session ("username")) =session. SessionID
Response. Redirect ("index.asp")
End If
%>
Other pages that need to be
Asp.net| Resolution | The page recently used the page navigation component SiteMapPath in the. net2.0, and thought of a simple and convenient mechanism to solve the problem of not synchronizing the page title.
The current problems:
First, the
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service