Asp.net| Performance | optimization
If you have the habit of viewing the HTML source code of the current browsing page in IE, you may often see code snippets similar to the following:
......
Smart you will certainly ask, what is this? What's the
A string and StringBuilderA small number of string operations should not be used StringBuilder.
Because a string is not an object, each operation generates a new string object for the superposition of strings. So for a lot of string operations, we
asp.net| data
Binding with DataBinder.Eval does not necessarily concern the data source (Dataread or DataSet). You don't have to care about the type of data. Eval converts this data object to a string. A lot of work was done on the bottom bound,
Programming | example
The following example program implements simple socket communication and can open multiple clients. The native test passed and no online tests were made.
Server:
Using System.Net;
Using System.Net.Sockets;
Using
Asp.net| Code | tips
Issues to resolve:Upload the following URL as a parameter to the other page1 http://domain/de.apx?uid=12&page=152 after the URL in the parameters of the Chinese characters, such as: .... aspx?title= CraneIn the case of the above,
Asp.net| Server | control
To set the appearance of a composite control, a composite control must provide some style properties, especially for child controls. In this article, we will focus on two ways to implement style properties for a composite
Asp.net| Errors | error handling | encapsulation | tips
/*----------------------------------------------------------------* Copyright (C)* All rights reserved.** FileName: ErrorManager.cs* Function Description: asp.net in the common error repair,
Asp.net|xml
ASP.net 2.0 provides a variety of data sources, in general, the XmlDataSource control uses an XML file, and the following example is a method of data binding using a XmlDocument object.
Vb. NET code
' >[]
C # code
' >[]
Stored Procedures | solving | problems
The use of remoting in the development of the project, and all the data request services are completed through the remoting, so naturally in it to pass the parameters of the stored procedures, in the business
Asp.net| Server | control
Introduction
It is often useful to display "Please wait" information in a Web application form submission, or an animated GIF picture, especially if the submission process is a long one. I recently developed a survey
. Several log management methods under Net
Logs are an integral part of an application, not only to record the running state of an application, but also to record bugs that facilitate application updates and modifications.There are several ways to
server|sql| Data | database
Organize a few paragraphs of common C # code to operate a SQL Server Mobile database for reference by friends who have just come in contact with SQL Server Mobile development.
1. Create a databaseCreating a
Transformations sometimes we have to convert time to different display effects.
The default format is: 2005-6-6 14:33:34
What if you want to change into a 200506,06-2005,2005-6-6 or more?
We need to use: DateTime.ToString method (String,
Js
In the traditional JSP program, we mix the HTML code with Java code, which is convenient, but also lead to difficult to maintain the page, HTML developers and JSP developers to increase the burden, we can make this traditional technology as a
js|servlet| Display
Because it has been not believed that Java can not mix to display a number of languages of the bug, this weekend to study the servlet, JSP in the multinational language display problem, that is, the servlet's multiple character
Browser
This article demonstrates how to construct a SQL gateway application with a Java Servlet, a JSP page, and a static Java class. With this application, you can execute SQL commands directly in the browser, and the browser will submit the SQL
js|mysql| Data | database
Page is a user-submitted parameter that controls paging, the allowable value is a positive integer, and a negative integerint I=COUNT/15; Total page, 15 records per pageint J=I/10; Total Big page, No 10 pages divided into
js| Connection Database | Problem You can help me look at the following three files (a JSP, two. java), I entered the address in IE, prompted the following error (code should not be wrong, do not know if the problem is set up), look at the high
js| Cache | tips | show
Some time ago to do their own community forum, on the basis of Jive to do a page to show all the forum posts, can be called the general version, imitate the Forum class interface to do a superforum and realize cachable, but
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