Asp.net learning notes (1)

1. display the drive list: // call the static method of directory getlogicaldrivesString [] mydirve = directory. getlogicaldrives; 2. Directory and file list display:Directory mydir = new directory ();Directory [] subdir = mydir. getdirectories ();

Method for obtaining the current path in the Asp.net class (not on the page)

There are many ways to obtain the current path on the ASP. NET page, such as mappath and request object. However, if you want to obtain the current directory, you will find that the above ath ATH and request cannot be used. The solution mainly

Methods and Common Errors for connecting ASP to MSSQL

ASP-based MSSQL connection methods and Common Errors// Method 1:Mm_conn_string = "driver = {SQL Server}; server = (local); uid = sa; Pwd =; database = infs ;"Set conn = server. Createobject ("ADODB. Connection ")Conn. Open mm_conn_stringSet rs =

Obtain content remotely using ASP

Obtain content remotely using ASP   '---------- Obtain the content remotely and store the content on the local computer, including any files! ---------- '--------------- Using XMLHTTP and ADODB. Stream, cool! Absolutely original! ----------------- '

ASP skills: Enable Len, left, right functions to recognize Chinese Characters

ASP functions: supports Chinese Len, left, right, how to make Len, left, right functions recognize Chinese CharactersRecognize Chinese characters as two characters with an ascii code. Use this function to replace Len, left, and right

Java and ASP analyze Keywords of various search engines and automatically recognize the encoding of keywords in URLs

There are some code on the Internet, most of which are identified and decoded by the entered keywords. However, the keywords on the Referer source address obtained by the search engine are encoded by urlencode, And the keywords urlencode of each

Use ASP programming to control the creation of web sites in IIS

''************************************** *****************''Create a webserver''Required parameter: wroot, which is the physical directory of the site to be created; wcomment is the site description; wport is the site port; serverrun is the

Advanced ASP programming (8)

Author: cnbruce resending from: 5D multimedia In addition to the objects used for sending (response), receiving and processing data (requeest), and server access (server), ASP objects also have some very useful application tags) and the object of a

Advanced ASP programming (9)

Author: cnbruce resending from: 5D multimedia In a web application, when a user accesses the application, the session type variable allows the user to share data on all pages of the web application; if another user accesses the web application at

Differences between ASP. NET and ASP

Most people may have different understandings about ASP. NET. So what is the relationship between ASP. NET and ASP? Let's take a look at the following example. This code is used to click the submit button of the user registration information module

ASP. NET download function

You often need to develop the file download function during website creation. The following three methods are available to download files:1. download code using ASPFilename = request. querystring ("FILENAME ")If filename = "" thenResponse. Write

The linked list class written by ASP is not very practical. It should be used as an exercise to write a class.

Today, in order to save a set of variable object sets, I think of the linked list operation class I previously wrote and tried to write a small linked list operation class. Which of the following methods of the RS object write a linked list

Asp.net manually obtains the returned event

So,If it is a button or imagebutton, the request. Form [buttonid] is not empty,If it is a linkbutton, the request. Form ["target"] is not blank. // The target here is incorrect. I forgot to spell it. Check the spelling.In this way, you can call the

Several methods for transferring values between ASP. NET pages, select blog from ekin7913046

ASP. NET web forms provides developers with an excellent event-driven development mode. However, this simple application development mode brings us some small problems. For example, in the traditional ASP application, you can easily transfer one or

Download, install and hello World ASP. net mvc Framework

I. Official Website:Www.asp.net/mvc Ii ,: Download ASP. net mvc 2 with the Microsoft Web platform InstallerHttp://go.microsoft.com/fwlink? Linkid = 185037Download ASP. net mvc 2 from the download centerHttp://go.microsoft.com/fwlink? Linkid = 15707

Asp.net Summary

1. Differences between and :A: is called when the program is executed. is called after the databind () method. 2. What types of data does the control receive?A: controls that receive bind, including dropdownlist, datalist, DataGrid, and ListBox,

[ASP. NET] basic principles of site design

Before designing any web site, it is helpful to review the design principles of excellent websites. Remember three basic concepts in website design: Try to separate the information from the representation. For example, developers will design

[ASP. NET] ASP. NET Cache Technology Learning-page cache (OutPut Caching)

In the past, writing programs never used caching (the level is too high). Fortunately, the website traffic was very small, so the performance problem was not prominent. However, if you do a formal project, regardless of the size, the cache

ASP Trojan prevention (zz)

ASP Trojan and webshell: Note: The setting method and environment described in this article are applicable to microsoftwindows2000server/win2003server iis5.0/iis6.0. 1. First, let's take a look at the ASP components used by ASP Trojans and webshells?

Full contact with Stored Procedure applications in ASP development (zz)

There are a lot of articles about ASP and Stored Procedures, but I doubt whether the authors have actually practiced it. I checked a large amount of relevant materials at the beginning and found that many of the methods provided in them were not the

Total Pages: 1800 1 .... 1301 1302 1303 1304 1305 .... 1800 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.