ASP. NET data access

Web ApplicationsProgramGenerally, you can access data sources used to store and retrieve dynamic data. You can writeCodeTo access data using classes in the system. Data namespace (usually called ADO. net) and system. xml namespace. This method is

ASP. NET self-study-htmllink

ArticleDirectory Attribute Value Allow programming to access the HTML element on the server. The followingCodeThe example shows how to declare the htmllink control programmatically and define its properties. Using system;Using

ASP. NET interview materials [3]

A: const is used to declare constants during programming, and readonly is used to declare the runtime constant. What are the differences between UDP and TCP connections? A: TCP is a transmission control protocol that provides connection-oriented and

ASP. NET tip [cross-page value transfer]

Here is a summary of the ASP. NET page value passing, I hope to help you. Keyword: Application Session Cookie querystring Transfer 1. Use querystring variable Querystring is a simple method for transferring values. It can display the

ASP. NET page encryption mechanism

ASP. NET encrypts viewstate. Page. registerrequiresviewstateencryption The method is to register the control as the control that requires view State encryption. If you want to develop a custom control for processing potential sensitive

ASP. NET Website performance optimization [3]

13. Make all modules in the request pipeline as efficient as possible All modules in the request pipeline have the opportunity to be run in each request. Therefore, requests are quickly triggered when they enter and exit the module. Code It is

ASP. NET Website performance optimization [4]

21. Only save the Server Control view status when necessary Automatic view status management is a function of the server control, which enables the Server Control to re-fill their attribute values during the round-trip process (you do not need to

How can I record the reason why the Asp.net site is restarted?

Add the record method in the application_end event on the site. Add the following Code to the Global. asax. CS file: Void application_end (Object sender, eventargs e) {// code that runs on application shutdown recordendreason ();} protected void

Asp.net 2.0 sets the table height to 100%.

In ASP. net2.0, if the table height is set to 100% by default, this does not work.PageCodeAs follows: No title page ... You need After deleting this row, you can set the table height to 100%.  

Display Ajax technology in Weaver OA, createhtml creates and calls ASP files without refreshing

========================================================== ========================================== Code Can be changed to gb2312 to utf8. below is the Ajax code in Weaver OA --->

Crystal Report (ASP calls a crystal report instance)

Response. expires =-1Response. addheader "Pragma", "No-Cache"Response. addheader "cache-control", "No-store"'Response. Write (" ")Reportname = server. mappath (Request ("url") 'obtains the path of the report. If not isobject (Session ("oapp") then'

IIS6 + Asp.net server critical vulnerability

My colleague discovered this vulnerability the day before yesterday. Today, I tested it in my friend's space and can indeed run all the commands, So far, no patch has been provided for ms. It is estimated that tens of thousands of bots have

Functions of ASP. NET State Service

After reading msdn, I understand that this service is used to manage sessions. Normally, sessions are in the IIS process (which can be understood as in the server's memory). When IIS is restarted orProgramSession is automatically cleared when the

Comparison and Selection of ASP. NET page navigation methods

In ASP. NET applications, there are multiple ways to navigate between web forms: Using Hyperlink, using response. Redirect, using server. Transfer, or using server. Execute. This article analyzes the similarities and differences between the four

Wind shadows ASP. NET basics 11 formview

ArticleDirectory Common formview templates   In terms of functionality and usage, formview and detailsview are very similar. The formview control allows you to use a single record of the data source. It is also used to update and

Front-end Optimization of ASP. NET development practices

Frontend OptimizationTransmission OptimizationTransmission speed, transmission quantity, browser cache, pre-planting and delayed Loading Transmission speed:Byte optimization: HTML, JS, CSS, image, Flash, XMLCDN: breaks inter-operator restrictions

About the architecture of large-scale Asp.net application systems-architecture selection)

Preface My work experience in. Net in recent years has made me want to write about the large-scale Asp.net application system architecture for a long time (for years ).ArticleThoughts. When chatting with colleagues, I talked about some piece of

ASP. NET specifies that one or more session values are shared with other sites.

This idea is a problem in the recent project. All that comes to mind is a single sign-on (Single Sign-On), that is, shared login information. Previously, all sessions are shared with other sites on the Internet, in this way, there will be a lot of

Chinese encoding of ASP. NET 2.0 pages

The Web deployment project provided by Microsoft was used to generate a web project with the generator a few days ago. The generated file is correct when the original project is generated. However, when you deploy the tool, it is found that all the

ASP. NET solves repeated submission issues

1. Add a hidden domain under the ASPX page 2. CSCode Protected void page_load (Object sender, eventargs e) {If (! Ispostback) {updatesign () ;}} static string rp_goodsedit; Public void updatesign () {hidsign. value = datetime. now. tostring

Total Pages: 1800 1 .... 1372 1373 1374 1375 1376 .... 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.