Asp.net| three-layer structure
One or three-tier architecture
1. Presentation layer (USL): The main means of the web way, can also be expressed as a WinForm way. If the logic layer is very strong and perfect, the logic layer can provide services
Data | databases | arrays
Batch Input method of database record by using array in ASP (original)Demo: http://www.zwtd.com/1/yanek/n/needdj2.aspREM article topic ASP using array to realize the batch input method of database record (original)Author:
Data | database | Online with the development of Internet, database application has been developing in the direction of simple operation and practical function in the network environment. This paper introduces how to use ASP technology to
Traversal | Traverse Directory | function
' I wrote a function that traverses the directory and the files in the directory,%>function Bianli (path)Set Fso=server. CreateObject ("Scripting.FileSystemObject")On Error Resume NextSet OBJFOLDER=FSO.
Advanced | Client last time posted a simpler use of Asp+rds Client Reference report
This post is a more complex client-side report with asp+rds+ components
Error Description: (if you are prompted that an ActiveX component cannot participate in RDS.)
Use session to maintain authentication of the owner, which must require that the client browser's cookie be opened. Because the session is implemented through cookies. Here, the Kanban ID is assigned to the session variable Beenthere, indicating
All along, want to write some components of the application, this time can finally write a bit of their favorite things.
I hope that after learning these tutorials, you can write your own components at will.
Each article may not be related, just
How to register a component
1. Absolute path to Regsvr32 component
such as: regsvr32 c:\test\fc1.dll
Because the component can be used as long as it is registered, it has nothing to do with the location of the component.
2. Registered in the
This article is mainly the ASP code into components, the developer is not only to speed up the ASP, but also to protect their own code. Below, we'll write a very simple component that focuses on knowing how to develop DLL components, not their
Array problem
Arrays are used in a lot of programs and are more prone to problems
Let's take a look at a small example
Open VB6 and create a new ActiveX DLL project. Project name modified to fcom, class name modified to FC4
Click menu-> Tool->
Error handling
If the page goes wrong without handling the error, the page displays an error that a user may not be able to read.
In ASP scripts, you can use the
On Error Resume Next
......
If Err.number<>0 Then
Response.Write Err.Description
Sort | array
Thanks to the source code provided by port 80, this function has been published through common perfection.
'=====================================' Author: Port 80, Arisisi' Time: 2005-12-23' Function: Reorder data'======================
Asp.net| Stored Procedures | Control VSS control stored procedures and their asp.net remote debugging
Server Installation:
One, VSS 6d
Second, the vs2003.net, the server installs at least as the figure content:
Client:
Statement selecting records from an Access database is one of the most frustrating things to do in the order in which they are entered in the database. Even if you use sort by to change the view of a record in an access environment, the order of
statement when your query is relatively simple, every time you create a SQL statement from scratch is not time-consuming, however, complex queries are different, each time from scratch will produce a lot of development errors. So, once you have SQL
Statement | Execution after learning the structure and purpose of a SELECT statement, you should learn how to use it. Under the database tools you have, this may mean that you have to press a button that says "execute." On an ASP Web page, you can
Statement the SQL statements we've talked about so far are relatively simple, and if you can go through a standard recordset loop query, these statements can also meet some more complex requirements. But why do we have to stick to the basic
The following is a reference fragment:Response.Write (Server.HTMLEncode (fiximg ("screen.width-461) window.open (' qq/ 20082181405371.jpg '); "" Alt= "" "" Border= "" 0 "" src= "" qq/20082181405371.jpg ""/> "))%>' Function: Format the IMG code as
Encapsulation | Essence ActiveX is a kind of code encapsulation technology that is widely used in Windows series, which improves the reusability of program code, accelerates the development speed of program project, and is commonly called "component"
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