Transaction Processing in ASP. NET

In ADO. net, you can use the connection and transaction objects to control transactions. To execute a transaction, perform the following operations: Call the begintransaction method of the connection object to mark the start of the transaction.

How to optimize ASP. NET performance? Let's take a look at my advice!

1. sqldataread and dataset Selection Sqldataread advantages: fast data reading. If you do not need to process the returned data in large quantities, we recommend that you use sqldatareader. Its performance is much better than that of datset.

ASP. NET page-level transactions

ASP. NET Transactions can be said to be in . Net One of the simplest ways to implement transactions on the platform, you only need one lineCodeYou can. In Aspx Add an additional attribute in the page declaration, that is, the transaction

Printing in ASP. NET

How can I call a printer to print and set the paper type?--------------------------------------------------------------- ---------------------------------------------------------------Directly call the print settings of IE;Window. Print ();---------

Differences between urlmappings in ASP. net2.0 and ASP. net4.0

Asp.net has been supporting urlmappings since 2.0, and recently found some problems in the project. My company uses vs2010, And the dotnetframework version is 4.0. As the project requires, you need to set a default. the URL of the ASPX page is

Comparison of several pages in ASP

The following is a comparison of several methods. 1. There are two ways to use stored procedure paging: First, use the command object as follows: Set cmd = server. Createobject ("ADODB. Command ")Cmd. activeconnection = ConnCmd. commandtext =

ASP. NET 1.1 & 2.0 Page Object Model

Providing services for ASP. Net requests from browsers is only a small part of the Web server architecture. Application Program General Lifecycle The following table describes various scenarios in the ASP. NET application lifecycle. You can

Practice: VB creates COM components> calls in ASP and. net

1> Create an ActiveX dll project, rename the project to exampleproject, and rename the class to exampleclass. 2> creation method: Option explicit Public Function examplemethod (byval strname as string, byval iage as integer, optional byval

An Ajax example that uses the prototype framework to link a drop-down box (ASP: dropdownlist.

I have finally studied Ajax for some time.A small example of Ajax linked by ASP: dropdownlist in the prototype framework. Code download Script Language = " Javascript " Type = " Text/JavaScript "   > Function

Asp.net custom server control development tips: how to correctly obtain the returned data

Recently, when developing a custom Server Control, I found this problem:Although I implemented the loadpostdata METHOD OF THE ipostbackdatahandler interface, debugging found that this method is not executed. Later I found the cause:The standard

Use Singleton to improve ASP. NET performance remarks

In the recent ASP. NET project, we found low system performance during the test. At first, we suspected that we were using too many usercontrols. However, as this is already in the late stage of the project, it is no longer possible to overturn the

Javascript-written ASP Component-less upload class

No operation JavaScript upload class v0.9 Author: Xie Ping Blog: http://birdshover.cnblogs.com QQ: 19999351 2006-6-23 Instructions:Supports the upload of GIF, JPG, rar, Doc, XML, and BMP files.The suffixes of the above types of files are

ASP. net mvc music store-0 Overview

Complete video of the musicstore project! This is a seriesArticleThe original content is from Microsoft's musicstore. First, we made a simple translation of the original content for your reference. In addition, we also made a simple analysis of

ASP. net mvc music store-1 create a project

Complete video of the musicstore project! Select "new" from the File menu in Visual Studio and select "project.   Then, select the web template group in C # and select ASP. Net mvc3 web application in the Project template on the

Build an enterprise portal platform using Asp.net 2.0 (2. Schedule page requests)

The urlrewrite technology is used for page scheduling. For more information about this technology, see the article I forwarded.Article: Http://erpcrm.cnblogs.com/articles/232924.html First, let's create a new website (I am using vWD 2005 express

Some tips commonly used in Asp.net

Mikecat) From: old cat ghost ideal Here we provide you with some solutions that are often easy to use. I encapsulated some effects in a class library file. Warning window /// /// The alert dialog box is displayed on the server./// ///

ASP. NET 2.0 Quickstart Tutorial-asp.net 2.0 quick start tutorial

Http://beta.asp.net/QuickStartv20/aspnet/ As ASP. net2.0 has undergone a major change relative to 1.1 and is currently in the beta2 stage, the above tutorials do not have translation value and are a good reference for learning. Start the ASP.

Asp.net download file source code

Add a namespace: Using system. net; Using system. IO; /// /// Download an object/// /// URL of the file to be downloaded Public void downloadfile (string URL){WebClient client = new WebClient ();Int n = URL. lastindexof ('/');String urladdress =

Asp.net reads the database

Some netizens say that C # is not supported. net or select VB. net, but I don't think that since it is learning new things, don't worry about how much is new. In fact, C # is generally case sensitive and has a semicolon (;), which is similar to VB.

20 accumulated lessons from ASP to ASP.net

Yanglilibaobao published on In the process of technological updates, there are still some people holding things that have passed through the air. some people enter the new world, but they still cannot get rid of old habits. I didn't use the word

Total Pages: 1800 1 .... 1742 1743 1744 1745 1746 .... 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.