ASP code Confidentiality has been a headache, there is no very good solution, nothing more than VB compiled into a DLL, but the workload is really too large, so has been struggling to find another way, this article introduces the solution to the ASP
Learning purposes: Learn the basic operation of the database 2 (Query records)
on the fourth day we have this program:
Set Conn=server.createobject ("Adodb.connection")Conn.Open "Driver={microsoft Access Driver (*.mdb)};d bq=" &server.mappath
Counter 4. User Management Program
Dim input ()
Thisfile = Server.MapPath ("counter.asp")
Set fs = CreateObject ("Scripting.FileSystemObject")
Set thisfile = fs. OpenTextFile (Thisfile,1,false)
Count = 0
Do as not thisfile. AtEndOfStream
Thisline =
stream| Function | web | download |stream| function | Download
ASP version of:
C # version of:
Http://www.ccw.com.cn/htm/center/prog/02_5_9_2.asp
Using System.IO;
Using System.Net;
Using System.Text;
In
private void Button1_Click (object
Program | show in the article publishing system using server-side to generate static pages can effectively reduce the burden on the server, especially for large traffic site is very effective. But since the generated is static page, what is the
Because the project uses the pop-up window, or is called the simulation window, this time has studied, the solution many, for instance, window.open (), Window.showdialog (), uses the layer simulation, the frame +div+javascript ....
With window.open (
Cookie|cookies|object|response|cookie
Cookies
Cookies collection sets the value of the cookie. If the specified cookie does not exist, it is created. If it exists, the new value is set and the old value is deleted.
Grammar
Response.Cookies (cookie) [
Variable
For an ASP program, the variables used are global variables, as well as some established objects. Good ASP programmers have the habit of releasing them, but releasing and not releasingHow much difference does it have between them? So today
Shopping Cart | tutorials | Shopping Cart database fields
Table: Pro_talbe:
ID Product number
Proname Product Name
Simages Product Small Picture
Table O_rder:
ID Order number
P_roid Product number
M_um Product Quantity
D_time Order Time
Table
first, the introduction
Writing form code is something we often have to do, and often becomes very complex and messy. This article will explain how to use regular formulas to simplify your code.
Ii. question-making
Writing a form confirmation code
Using System.Collections.Generic;
Using System.Text;
Using System.Net;
Using System.Net.Mail; Try
{
The code is rigidly defined as GB2312
Encoding Encoding = encoding.getencoding (936);
MailMessage message = new MailMessage (
New MailAddress ("Own
Network
If Request.ServerVariables ("http_method") = "POST" Then
If Request.Form ("submit") = "Join" Then
' Process join question request
Set Mrs=server. CreateObject ("Adodb.recordset")
Mrs. activeconnection= "Dsn=testsys"
Mrs. Source= "SELECT *
' Original author: Xiao Yi qq:52093
Response.Write ("")
On Error Resume Next
Dim Thisurl,thistext
Thisurl=request ("Thisurl") ' defines the file address (non-HTML format document)!
If Thisurl= "" Then
Response.Write (" Please enter the file address!
Program
We want users to register when making the website, and we do not need the user to set the password when registering, but usually need the user to input the correct email address, when the successful registration our program automatically
In ASP.net 2.0, a more convenient configuration file access class is provided, which can be viewed under the System.Configuration namespace. This article provides a common way to get a database string in the development process, and write a method
Problem | Execution we know that want to be in a
Operating SystemThe user is required to perform any one operation. And then
Operating SystemChecks whether the user has permission to perform the operation, and if so, it is executed, and if not, it
pagination | We all know that ASP has a powerful database operation capability, which is inseparable from her convenient invocation of ActiveX objects. Let me introduce an ASP method of using ADO object to realize paging display of database records.
session| question How do I get all the session variables?
In program debugging, you sometimes need to know how many session variables are in use, and what are their values? Because the Session object provides a collection called contents (Collection)
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.