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.

A supplement to the summary of ASP image problems

The problem I wrote a "Summary of the ASP image problem" sent to the version, the result many friends wrote to ask me about it, I'm here to add a few points: 1, the use of PB into the database after the image, if you want to see the client from the

How to limit the submission of the same form multiple times in an ASP application

We encounter countless forms on the Internet every day, and most of them do not restrict users from submitting the same form multiple times. The lack of such restrictions can sometimes produce unexpected results, such as repeating a subscription to

Using ASP script to make the tree structure of asynchronous loading (a) (turn)--Good dongdong!!

Scripting | Asynchronous tree structure is a common way to describe hierarchical data. The tree structure generation program introduced in this paper consists of one ASP page and two JavaScript functions. The tree structure is asynchronous, that is,

Using ASP script to make the tree structure of asynchronous loading (b) (turn)--Good dongdong!!

Scripting | Asynchronous three, client code The following is the program's startup page tree.htm: The Gettree function in Renderer.js is executed when the page is loaded. The IFRAME part of the HTML code implements the communication

Maintaining the security of ASP applications

Security | Procedures do not despise the importance of properly configuring security settings. If you do not configure your security settings correctly, you will not only cause your ASP application to be unnecessarily tampered with, but will also

ASP Tutorial: 16th Other ASP common components

When you use ASP to write server-side applications, you must rely on ActiveX components to powerful WEB application functions, such as: you need to connect the database, the database online operation, and so on. In the last two articles, the author

Use ASP to read out text files and display

Use ASP to read out text files and display Read a text file and write the Sun Aug 2 06:34:07 1998 (Note: TextStream about written method Write (STRING) WriteLine (STRING) WriteBlankLines (LINES) ) It's a complete program. 〈html〉 〈head〉 〈http-equiv= "

ASP anti-SQL injection attack program

program | Attack SQL injection by those rookie level of so-called hackers play a taste, found that most of the hacking is now based on SQL injection implementation. SQL injection was played by the novice-level so-called hacker masters, found that

ASP application: Read files with stream

A few days ago to write a thing inside useful to read the file. But I do not want to use FSO, I am afraid of some space does not support.But the network looked for a long time did not find a not to use FSO to write. Or did one of their own. I

Use ASP and asp.net to create folders and files.

Asp.net| Create Asp: Sub WriteFile (file)Response.Write "File:" +fileDim FSO, TFSet fso = CreateObject ("Scripting.FileSystemObject")Set tf = fso. CreateTextFile (file, True)Tf. WriteLine ("Testing 1, 2, 3.")Tf. WriteBlankLines (3)' Write a line.Tf.

Asp. NET Program Common programming code (II)

Asp.net| Programming | program 1, binding in the DataList of the DropDownList private void Dlistorder_editcommand (object source, System.Web.UI.WebControls.DataListCommandEventArgs e){Bind order Statusfor (int i=0;i{if ((DropDownList)

View state persistence mechanism for ASP.net 2.0

Asp.net| View Objective As long as you have a little understanding of viewstate, you will know that the ASP.net page viewstate is generally stored in a hidden field of the page: When we look at the source of the page, we see a lot of clutter

Caching Technology for ASP.net 2.0

Asp.net| Caching database-driven Web applications, if you need to improve their performance, the best approach is to use caching capabilities. A user retrieves data from a database, possibly one of the slowest operations in a Web application.

28 Tips to improve ASP performance and appearance

Skills | performance Introduction Performance is a feature. You must design the performance beforehand, or you will have to rewrite the application later. That is, what are the good strategies to make activeserverpages (ASP) application performance

asp.net performance optimization.

Asp.net| Performance | optimization (i). Select a session-state storage methodIn webconfig file configuration:sqlconnectionstring= "Data source=127.0.0.1; Trusted_connection=yes "Cookieless= "false" timeout= "/>"ASP.net has three ways of storing

Build your own IIS to find ASP program vulnerabilities

iis| Program teacher elated: You rookie, "The teacher turns to do, today to my house", now it is my turn to give lectures, not quickly welcome?! Students: Dizzy, said so easily, your turn to be a teacher? Why would you do that? Teacher Nu Yue: Why?

Common asp.net Code techniques (DPC&DWC Reference)--4

asp.net Figure 2.3 Output of Listing 2.1.3 when viewed through a browser. Listing 2.1.3 begins with the instantiation of the SortedList class (line 4). Sltestscores, the SortedList instance, contains the test scores from five students (= 7 lines 11)

Using SQL in ASP

Data | database set oSQLServer =server.createobject ("SQLDMO.") SQL Server ") Osqlserver.connect "Database IP, Port", "username", "password" ' Connection database Set oSQLServer =server.createobject ("SQLDMO.") Database ") Set Odbfiledata

An improved ASP public paging module

Paging with DWMX2004 plug-in package can implement various paging functions of ASP, but the code is a bit scary, we in the actual project development, there is no simpler way to achieve "once and for all"? The answer is yes. The features we need: 1

Total Pages: 1800 1 .... 242 243 244 245 246 .... 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.