Basic Asp object Asp (Active Server Page) is an object-oriented programming language similar to VB. Here, we do not want to detail some basic concepts such as objects, but directly introduce their language features, so that developers can skillfully
I. ASP object creation skillsWhen we use server components to create objects, there are generally two methods. The common method is to use the CreateObject () method of the SERVER object, as shown in the following code:SET NextLink = Server.
When you query a database, you will often encounter this situation:
For example, you want to query the user name and password in a user database, but the user name and password exactly contain special characters, such as single quotes, "|, double
First-this method is most used in ACCESSStrconn = "DRIVER = Microsoft Access Driver (*. mdb); DBQ =" & Server. MapPath ("aspfree. mdb ")Set conn = server. createobject ("adodb. connection ")Conn. open strconnSecond-this method is used in SQL
When you query a database, you will often encounter the following situations:
For exampleYou want to query the user name and password in a user database, but the user name and password exactly contain special characters, such as single quotes, "|"
1. Compile the DCOM component:Suppose we want to remotely start the DNS service through the ASP page, and the DNS server is different from the Web server. We can compile an ActiveX DLL to implement this function.First, create a batch file StartDNS.
1. Average distribution of front-end and back-end program execution Load
ASP does not aim to replace the Script program of the front-end web page. On the contrary, the front-end should coordinate with each other: the work that can be executed by
Early cache; frequent Cache You should implement caching at each layer of the application. Add cache support to the data layer, business logic layer, UI, or output layer. Memory is currently very cheap-therefore, implementing caching in the entire
ASP. Net is also called ASP +. The following is a summary of the process of installing ASP. Net.1. System Requirements==================================· CPU: Intel Pentium II-class 300 MHz (Intel Pentium III-class 600 MHz recommended)· RAM: 96 MB (1
Generally, IIS cannot run ASP. NET. Try the following four methods:
1... NET Plugin-I to reinstall IIS Mapping is mainly used for matching the Extention of files such as aspx and asmx ). In the C: \ WINDOWS \ Microsoft. NET \ Framework \ v1.0.3705
In ASP. NET Development: Adding properties to user controls this article defines a user logon user control UserLogin. the ascx file contains a LinkButton server button control. When you click this button, the server automatically generates a
ASP. NET contains a new method: separating the commercial logic code from the expression code. This is often called the code behind it. It is very powerful and easy to execute.
The implementation step is to add user interface elements to the ASP.
The data source control requires parameter values to specify the data to be selected, or how to modify and modify the data. Generally, a page contains some UIS to define the parameters that must be used in the selection operation. The data binding
In Visual Studio, you can create a website in two ways: ASP. NET Web Site and ASP. NET Web Application. Compared with Web Site, Web Application has many advantages. There are already many articles on the Internet to illustrate their differences. An
Here we will introduce a VAB (Validation Application Block), ASP.. net mvc uses the Attribute declarative verification component FluentValidation, which uses the expression syntax chain programming to separate the verification component from the
Lucene. Net
Lucene.net is from Lucene. net is an open source full-text search engine development kit, that is, it is not a complete full-text search engine, but a full-text search engine architecture, is a Library. you can also think of it as a
Today, we have such a requirement that the C # library to be written sometimes needs to be in. net 2.0 compilation, sometimes in. net 4.0 compilation, this library uses lambda expressions, using the extension method, using several systems. core. the
Preface
ASP. NET Excel operations are already an old topic, but the NPOI Excel operation I mentioned below should be one of the best solutions, NPOI can help developers read and write 97-2003 Office files without installing Microsoft Office.
Currently, Enterprise Solution Web only supports RDLC. To support a report format, you need to do some basic work to facilitate close integration with the system.
Bind Data Source
First, let's take a look at how to use the RDLC report in the report.
When ASP. net mvc submits arrays through JQuery Ajax, the model binder Mechanism of MVC becomes invalid. We have to write custom code in the Controller to convert the data submitted by the Request to the required data type. This process is often
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