ASP set of Functions

function ' ======== get the URL with port, recommend to use ================ Function Get_scriptnameurl () If Request.ServerVariables ("server_port") = "Then" Get_scriptnameurl= "http://" & Request.ServerVariables ("SERVER_NAME") &lcase

How to upload large files in asp.net applications

Often in the project to use a large file upload, to upload the file has more than 100 m, so the study of the domestic use of large file upload components found in more than two controls Aspnetupload 2.0 and Lion.Web.UpLoadModule, two control methods

Asp. NET technology to obtain IP and MAC address

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 ()).

One of the database operations commands in ASP.NET 2.0

The command object is used when database commands are executed. There are three kinds of command classes: SqlCommand, OleDbCommand and OdbcCommand. The command object is used primarily to run SQL statements such as SELECT, INSERT, update, or delete.

Multi-language support for ASP

Outline Let's imagine that you've designed a successful site using Active Server Pages, and your customers have asked to internationalize this site to provide multiple language versions. What do you do at this time? Please read this

Paging Database Results in asp.net (Prt2) (reproduced: http:

Paging Database Results in asp.net by Scott Mitchell -------------------------------------------------------------------------------- Read Part 1 -------------------------------------------------------------------------------- In the Part 1

Wonderful asp-mirror image site Speed test

wonderful asp-mirror image site Speed test Please choose the fastest mirror image site ≡≡ Technology site Connection ≡≡ Hungry Wolf Studio ASP Gourmet Xiao Dong CGI garden Free cgi Chi Long cgi 1#101 cgi store Jingmen

Asp. NET and database related skills

Asp.net| Skills | data | database First, get the value of data table I row J column To establish and open a database connectionOleDbConnection conn=new OleDbConnection ();Conn. Connectionstring=strconnectionstring;//strconnectionstring a database

How to get the load time for ASP pages (cycles)

How the page gets the load time of the ASP page Doing this are easy with a simple server-side JavaScript function: The GetTime () method of the Date object in JScript returns the number of millisecond since 1st, 1970. Therefore all your

[ASP.net] implementation pops up the Reminder dialog box after executing the service-side code

Asp.net| Dialog | Implementation you often encounter in the development of this situation: Click a button to perform a service-side operation, such as: Add data, add success after the need to pop up a reminder box to remind customers. The code is as

Asp. NET Webfrom Component LinkButton programming

Asp.net|web| programming The LinkButton component in the ASP.net WebForm component is also a server-side component that is somewhat similar to the identifier in HTML. Its main function is to display a hyperlink in the ASP.net page. When the link is

ASP general program for folding menus in Web pages

Menu | program | Web page ASP General program for folding menus in Web pages                      Bank of China Shanxi province Jincheng Branch Science and Technology Branch Yuan Jin Yu With the increasing popularity of internet/intranet, Web

ASP Program Password verification problem (MS, defect)

Involving procedures: MS IIS Describe A Chinese university student discovers the NT website ASP program password Authentication flaw With From: benjurry@263.net The original text reads as follows: Very early found that many domestic programmers

Porting ASP code to VB COM component-1

You have just released the latest huge ASP application to the Web. Files are uploaded correctly to the server, and the link to the application is also Work well. Before celebrating victory, you want to run some stats on the performance of your

The detection client displays the corresponding page ASP+JS code.

asp+|js| Client | display | Page Bigurl = "Bigscreen.htm" Smallurl = "Smallscreen.htm" A = LCase (Request.ServerVariables ("Http_user_agent")) If InStr (A, "MSIE 5") >0 or InStr (A, "MSIE 4") >0 Then %> ElseIf InStr (A, "MSIE 3") >0 Then

Handling Errors in ASP

Error just finished your ASP application in time, barely making the dealine! As you upload the final version of the webserver, you receive an email from your supervisor indicating so he's ready for Your demo. You confidently stride to his office and

How developers Debug script objects in ASP pages (3)

Object | Script Tracking Events When an ASP page uses the scripting object model, individual script objects trigger events to react to state changes (such as recordset1_ondatasetcomplete) or user behavior (such as Button1_onclick). Typically, you

ASP does not need Third-party components to actually implement file upload for any type of file

Upload has always been due to the limitations of FileSystemObject, so the biggest problem is the ASP file upload, most of the solution is to install Third-party upload components. There are many problems with third-party components, some components

Using ASP combined with VBScript to simulate stock rolling screen

This is a simulation of the stock rolling screen Kanban program, the program will be 10 stock prices and information on the fall of 5 groups each time, the cycle alternating, different from the previous Roll screen left blank. Because of the

Using ASP to print output on the browser

Use ASP to combine JavaScript or VBScript to generate a dynamic Web page. When this method is used in practical applications, it is unavoidable to print out the results. We can also sort out the results of the query and print the output directly

Total Pages: 1800 1 .... 745 746 747 748 749 .... 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.