Overview: When Tomcat is started, the system prompts port 8080 (if the port is modified during installation, use the port you set) to be occupied. The solution is as follows:
1. Start-> Run-> Enter cmd2. Enter netstat-ano to check which one is
In this article
Article . You can scroll to the top or bottom of your webpage.
How it works First, load the jquery library before the label ends:CopyCodeThe Code is as follows: jquery scroll to the bottom:
Link: scroll to bottom jqueryCopy
Common logs used to diagnose sqlserver Problems
There are two main points:
(1) Windows Event Log
(2) sqlserver errorlog
1. Windows Event Log
As a service enabled and managed by WindowsProgramWindows records the startup, normal shutdown,
Copy codeThe Code is as follows: private void dgvChannel_CellClick (object sender, DataGridViewCellEventArgs e)
{
If (e. ColumnIndex =-1 | e. RowIndex =-1) return;
Int x = dgvChannel. CurrentCell. ColumnIndex; // get the mouse click Column
If (x
Some database statements may not be used much at ordinary times. Therefore, it is difficult to query the database over the Internet when using the statements. On the CSDN forum today, I saw these statements, and I copied them, I tried to copy the
When ListView is selected for automatic paging, A DataPager paging control is added. There is a nested relationship between the two. As mentioned in Repeater and ListView, such paging is not efficient because the data source still returns all data
1. Use Rules
Awk is suitable for text processing and report generation. It also has many well-designed features that allow programming that requires special skills.Awk syntax is more common. It draws on some essential parts of some languages, such
Limit. js Code
Copy codeThe Code is as follows: // txt: jquery object in the text box
// Limit: the maximum number of words.
// Isbyte: true: the number of limit bytes; false: the number of limit characters.
// Cb: callback function. The parameter
Permissions can be divided into addition, deletion, modification, and query, and the sum of values with database insert permissions. For example, you can Add and modify Permissions. Add + Permissions. Mod. The result value is 5.
When determining
In javascript, the Array. sort () method is used to sort Array items in ascending order by default. The instance code is as follows:
Copy codeThe Code is as follows: var arrA = [6, 2, 4, 3, 5, 1];
ArrA. sort ();
Document. writeln (arrA );
// The
Copy codeThe Code is as follows: 'read Custom Attributes
Dim Properties = SourceDoc. CustomDocumentProperties
Dim PropertyType As Type = Properties. GetType
TryDim Authorprop = PropertyType. InvokeMember ("Item", Reflection. BindingFlags. Default
Today I came into contact with the ToStringBuilder class. Here is a memo.
ToStringBuilder is mainly used for formatting output of a class in the common-lang package. The append method in the ToStringBuilder class can add basic types, arrays, and
For better encapsulation, each js Code that implements different functions should have its own js file. If multiple js files are referenced in a webpage
Copy codeThe Code is as follows:
In this way, the web page will send three requests to the
JQuery's data API implementation method has the effect of caching data
Use IE 7 (IE8 + switch to IE7 mode on the console). When a DOM node has custom data attributes, check the DOM node to see attributes such as jQuery18305664906559272507, this is
Automatic Collection of SQLSERVER diagnostic information
I believe that many people have encountered problems with SQLSERVER, and you cannot solve the problem by requiring DBA or after-sales support engineers from Microsoft, then they usually need
Ie9 does not support websocket, not to mention ie6, but websocket can develop so cool functions, how can we let ie stop us?
But what should I do?
Use flash for encapsulation
The specific flash code is as follows::Copy codeThe Code is as follows:
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