Learning Objectives: Learn the basic operation of the database 4 (Modify records)
First look at the code:Set Conn=server.createobject ("Adodb.connection")Conn.Open "Driver={microsoft Access Driver (*.mdb)};d bq=" &server.mappath ("Test.mdb")//This
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
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
When you do an attendance system, the number of days in which an employee is required to leave. The Leave Submission page provides the starting and ending dates for the leave, and it involves the possibility that the user will be able to take a few
If you have a huge web site with a lot of content, it's often hard for visitors to find what they need, and then you need an in-site search to help visitors find the information they're looking for faster! Now you can use ASP easy to implement this
Access to a Web site has many pages, if the user knows a link to a page, you can enter the URL directly in the browser to access it. However, this is not allowed on a site that requires security. We require users to be logged in to access all levels
The method of obtaining the IP address of the server is simple and practical by DNS method, as follows:
private void Buttonip_click (object sender, System.EventArgs e)
{System.net.ipaddress[] AddressList = Dns.gethostbyname (Dns.gethostname ()).
After receiving a letter from some people, asking about the asp.net of learning order, this will be to the system to learn asp.net technology beginners to talk about my suggestions.
If you already have more object-oriented development experience,
Many websites now use. NET development.
One more platform for front-end development,
Because of the use of VSS source code manager, programmers often worry about getting files.
Especially styles, pictures.
directory Structure
├─app_code-----------
Pagination | recordset | page | Recordset We all know how easy it is to implement a recordset's paging display in Dreamwerver, but the generated code is very large, affecting the speed of the Web page display, it does not look very clear, then, can
Beginner
First select the operating system . Because the ASP is part of MS (Microsoft), we want to select MS's operating system , which Windows 98 can do (Windows Me and Windows XP Home).
Then you build a personal web server (Personnel Web Serice),
Query System | Query system development Such a domain name query system is actually a very easy thing, as long as we can allow users to query after the results, to see their input domain name is not occupied by others can, if not occupied we can
Programs usually when we write ASP, usually with VBScript or JavaScript.
JavaScript is the use of function to implement the class, very cumbersome, and the effect is unpleasant. VBScript can implement classes, but there are also significant
First of all, the ASP's class is composed of events and methods (they are composed of members of the class), if we have not been contacted, you can first look at the following instructions (haha, I am now learning to sell, say well please forgive me)
js| Page | source code
Ming: This code is suitable for you to do site use, ordinary friends can not ignore this thing!
Asp:
Dim objxmlhttp, QQ, PWDQQ = "10000"PWD = "123456"Set objxmlhttp = Server.CreateObject ("MSXML2. xmlhttp.5.0 ")Objxmlhttp.open
google| Online
Sometimes you want to provide multi-language support for our web pages, and if one language is too cumbersome to do with a single Web page, it is fortunate that Google offers the Language Tools feature, and here's how to use it to
Program | paging | performance
Sql= "Select ID from News order by ID Desc"Sqla= "Select title,filepath,filename from News where ID"sqlb= "ORDER by ID Desc"Rs. Open sql,conn,1,1Thepagecount=1Currentpage=1Topage=1If not Rs. Eof Then' #
Programmers know that the most popular Java is the MVC model of the programming, if you do not know the concept of MVC, you can go to the Internet search, you should immediately find more than n data. After the launch of PHP5, also began to use the
The following are the referenced contents:'-------------------------database connection-----------------------Set objconn = Server.CreateObject ("ADODB. Connection ")objconn.connectionstring = "Provider=Microsoft.Jet.OLEDB.4.0;" &_"Data source=" &
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