Several methods for transferring data between ASP. NET pages

The Web page is stateless, and the server considers each request to come from different users. Therefore, the status of the variable is not retained between consecutive requests to the same page or when the page jumps. ASP. when designing and

Use of viewstate and cache in ASP. NET notes

1, (1. ASP by default. net enables ViewState, which generates lengthy hidden fields on the page. ViewState may be useful for pages that require PostBack processing, viewState is not required for interaction on news display pages. (2) Disable

Introduction to creating an Intelligent Video Monitoring System for IP networks using. NET/C #/WCF/WPF

OptimalVision Network Video Monitoring System OptimalVision (OV) Network Video Monitoring System (Video Surveillance System) is an IP Network Video Monitoring System Based on. NET, C #, WCF, WPF, and other technologies. The original intention of

Display the control method in the GridView based on the value bound by the Eval () function

Copy codeThe Code is as follows: 'text = ' 'oncommand = "RowCommand"> '>CommandArgument = ' 'oncommand = "RowCommand"/>CommandArgument = ' 'oncommand = "RowCommand"/> The control in each row of the GridView is dynamically displayed based on the

How to display Chinese garbled characters in Excel exported by asp.net

Copy codeThe Code is as follows:Protected void btnExcel_Click (object sender, EventArgs e){List orderlist = dal. GetOrderList2 ("");String filename = "3G traffic network age Upgrade Plan User table ";String name1 = filename;String bname = Common.

Difference between datalist, Repeater and Gridview

Advantages: griview is the most powerful. It provides many functions such as paging, editing, deletion, and selection. It is the most convenient to use and can be dragged directly to the page to create a new data source, after a few clicks, you can

Use ASP. net mvc 4 Async Action + jQuery to implement the Message notification mechanism.

In the past two days, we have used Asp.net MVC 4 to develop the COMET Message notification mechanism. At the backend, we use an asynchronous thread to subscribe to messages. The client uses the AJAX persistent connection to request the ACTION in MVC,

Common Errors of HttpWebRequest can be avoided by using TcpClient

Sometimes an error occurs when you use the HttpWebRequest object. There are three types of errors:1. System. Net. WebException: the server submitted a protocol conflict. Section = ResponseStatusLine2. System. Net. WebException: the basic connection

Use cookie and md5 encryption in asp.net to implement the Code for remembering the password Function

When performing a front-end login and background information review management function, you need to use the password-remembering module:Although. net has built-in login controls and has the ability to remember passwords, I still want to practice it

C # Introduction to DataSource attributes in the data binding control

Sometimes, when you enter a certain stage of programming and further improve the system, you may wish to look back at the basic things, and perhaps you will have a new benefit, it may be able to truly understand the true meaning of Confucius's

Ajax Control Toolkit BalloonPopup instance and effect

For details about the Ajax Control Toolkit and how to obtain it, see another article in this series: Ajax Control Toolkit example (1) AutoCompleteExtender. Introduction to the BalloonPopup Control The BalloonPopup control displays a pop-up layer,

Asp.net built-in object Cookies (Introduction/attribute methods/basic operations and instances)

1. Understand Cookies Cookies are a collection of data managed by Web servers stored on customers' computers. The data is related to the client and server. That is to say, each time a customer's browser logs on to a website, information related to

Asp.net web page elements can be shared in multiple languages

For some systems developed, it is often required to support multiple languages (such as Japanese and English). In the past, most of the practices were to create a resource file, Set each label, button, and other title text in various languages in

How to obtain the items selected by the Repeater control and precautions

The Repeater control. Each item has a CheckBox before it displays the selected item column.In this method, you can see the line of highlight after the selection, this function can refer to this link: http://www.jb51.net/article/33455.htmThe

Select record in the GridView and confirm deletion by the confirm user

Before deleting a user's operation record, a prompt is sent to the user to confirm whether to delete the record. In general, it is no problem to delete a record. However, you can select multiple records if you do not select a record. If you click

Asp.net image file anti-Leech (respect for labor achievements) and BeginRequest event Learning

After all, image leeching is a successful task. Many people do not want others to steal images easily. This function is available in many forums, probably because there are too many leeching behaviors.The anti-leeching program is actually very

Front-end JS (jquery ajax) calls the back-end method to implement a fresh cascade menu example

The front-end uses AJAX to directly call the back-end method. Some old people post and ask questions. There is nothing to do with an example.CasMenu. aspx page:Copy codeThe Code is as follows: Porschev -- foreground JS (Jquery) calls the cascading

URL filtering implementation code in ASP. NET

The following is the definition of a class.Copy codeThe Code is as follows:Using System;Using System. Web;Using System. Web. SessionState;Namespace QTJZ{Public class Filters: IHttpModule, IRequiresSessionState{Public void Dispose (){}Public void

C # deep understanding of event design and usage

Related Concepts Definition: an event is a type member used to notify other objects that a specific event has occurred to this object.Note: An event is a member of the. NET type that is relatively difficult to understand and practice, because the

How to query the code of an advanced query instance using linq

Copy codeThe Code is as follows:Using System;Using System. Collections. Generic;Using System. Linq;Using System. Web;Using System. Web. UI;Using System. Web. UI. WebControls;Using System. Text. RegularExpressions;Using System. IO;Using System.

Total Pages: 1075 1 .... 360 361 362 363 364 .... 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.