20 practical examples of ASP programming (1)

1. How to use Asp to determine the virtual physical path of your website A: Use the Mappath method. The Physical path to this virtual website is: 2. How can I know the browser used by the user? A: Use the Request object method. StrBrowser =

Solve the Special Character Problem in asp db query execution

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

ASP Automatic Generation of numbers

The indentity or new id () method is not easy to use. I wrote one by myself. This sequence number is characterized by the maximum number of the Day of the system in the corresponding table each time, if no record is generated on the current day, a

Common File processing functions in ASP

Custom functions commonly used for processing file uploads and deletions in ASP:'''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''''All custom VBS Functions'''''''''''''''''''''''''''''''''''''''' '''''''''''''''''''''''''''''''

ASP design FAQs-2

9. Question: Do I need to use "Option Explicit" in every ASP file "? A: in practical applications, the VBScript variable concept has been vague, allowing direct use of variables without the need for Dim to declare variables. However, this is not a

ASP object creation skills

-------------------------------------------------Title: ( vs. Server. CreateObject ())Http://www.asp101.com/tips/index.asp? Id = 4Translation: Pine------------------------------------------------- When we use server components to create objects,

ASP programming URL

This article provides some learning and code download URLs for ASP programmers. ASP cool technical network: http://www.aspcool.com ASP/ASP.net Pacific College: http://www.pconline.com.cn/pcedu/empolder/wz/asp/index.html ASP dynamic network pioneer:

15 useful examples in ASP Programming

1. How to use Asp to determine the virtual physical path of your website A: Use the Mappath method. The Physical path to this virtual website is: 2. How do I know the browser used by the user? A: Use the Request object

Web Printing Using ASP

Option ExplicitThe value of the submit button is saved in Dim strSubmit "Form.Dim strPrinterPath "Form to save the value of the Network Printer pathValue of the user name in Dim strUsername "FormPassword value in Dim strPassword "FormDim strMessage "

Use simple Java classes in ASP

Method 1: register the Java class as an ActiveX component Step 1:Create a Java class named Test. javaPublic class Test{Public String getWord (){Return "Hello World ";}} Step 2:Compile it into a class file, copy it to the System Disk: \ WINNT \

Use ASP. NET to display online login users and locations

I. Principles The Application_AuthenticateRequest event and Application_BeginRequest event in global. asax in. net are triggered every time the aspx file is accessed. However, in Application_BeginRequest, ticket tickets with FROMS authentication

7 tips for designing ASP. NET Applications

1 .~ UsageIn general, we use. /.. /This relative path is used to determine and plan our resources (such as slice and resource files). However, in this way, errors may occur when we deploy the application. if an image is included in the ascx control

ASP. NET: Introduction to custom object classes (1)

Introduction The era of ADODB. RecordSet and the often forgotten MoveNext has passed, replacing Microsoft ADO. NET with powerful and flexible functions. Our new weapon is the System. Data namespace, which features extremely fast DataReader and a

Compile a message book using ASP. Net

1. Use Access to build a database data. mdb and create a table Guest. The structure is as follows: ID automatic numberTitle stringSignature stringBody remarks. 2. guest. aspx message book message book Width = "100%"BorderColor =

Make full use of ASP. NET three caches to improve site performance (1)

ASP. NET provides three main forms of cache: page-level output cache, userWidgetLevel output cache or segment cache) and cache API. The advantage of output cache and fragment cache is that it is very easy to implement. In most cases, it is

New Realm of ASP. NET 2.0 refreshing pages

"No refreshing page" is just an inaccurate effect description, but there are other methods to achieve this effect). To be more precise, call a method on the server using JavaScript on the page, then process the returned data. The most standard

Code separation in ASP. NET

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.

Basic knowledge of using data source controls in ASP. NET2.0 (1)

IntroductionIn short, the data source control summarizes a data storage and some operations that can be performed on the contained data. The DataBound control is associated with a data source control through its performanceid attribute. Most

Use the new ListView control in ASP. NET 3.5 (1)

BKJIA exclusive Article] ASP. the new ListView control in NET provides a template-based layout for display and CURD database operations, making it an excellent way to build a data-centric Web application. When writing a user-centered application,

Some details that ASP. NET often ignores (1)

Some time ago I encountered a problem: Why does the timer sometimes not work in ASP. NET programs? This problem looks strange, and the code seems to be correct, but the results are inconsistent with expectations. In fact, this is an easily

Total Pages: 1075 1 .... 842 843 844 845 846 .... 1075 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.