I. Basic KNOWLEDGE Preparation:
1. The principle of the layer:
(1) Each layer is called by an interface for the upper layer.(2) The upper layer can only invoke the lower layer.(3) Dependence is divided into two types: loose interaction and strict
Brief introduction
As the application layer of user's direct perception, the web needs to take into account the rationality of user experience and interactive process, and the smoothness of business logic. Improve front-end rendering efficiency
Previously wanted to make irregular forms, mostly using API functions to implement, in C #, you can also do not use API functions can still make beautiful irregular forms, the following describes the relevant methods, the following is the code.
Reading tip: This article gives two things to note about the Page_Load event of an ASPX page in ASP. 1. Sometimes the Page_Load event occurs multiple times on your ASP. 2. Sometimes it seems that the Click event handling code of a button is not
The default encoding for ASP. Utf-8, when there is Chinese in the string interacting with other platforms often garbled, this is because the other platform to take GB2312 encoding, to solve this problem, you can write a function, the string is
ASP generates two functions for random passwords:function one
bits of Makepassword (str) ' str passwordfunction two
Gen_key (str) ' STR ' is the number of password digitsThis function can also be extended. If you also want to add the case
1.int str_a= "33"int i_a=convert.toint16 (str_a); Convert to short integer (16)2.charchar_a;Char_a=convert.tochar (65);Response.Write (char_a); Turn 65 of the SCII code table into characters;The result is a1. char_a; Char_a= "Hello World".
The code is as follows
"Then P_len=len (Trim (str)) for Xx=1 to P_len if ASC (Mid (str,xx,1)) Maxnum then bymaxnum=true else Bymaxnum=false End IfEnd Function ' minimum number of characters; returns true, otherwise false;maxnum: Maximum number
Let's start with the basic http://www.php.cn/code/8703.html "target=" _blank "> Routing rules principles. The basic routing rules are from special to general arrangement, that is, the most special (non-mainstream) rules at the top, the most general (
C # unmanaged cross-thread Commission debugging,
Use C # To Call The so file of mingw, return the video data to the wpf interface for display, and register the callback function. When calling the callback function, C ++ encounters the issue that
C # Another method of Expression Tree for copying objects quickly and efficiently,1. Requirements
In the code, you often need to copy the object or copy the values with the same attribute name.
For example:
public class Student {
C # basic simple factory mode and Singleton Mode,
Design pattern: refers to the code Design experience that most people use repeatedly.
Role: code reuse, easy to understand, and ensure code reliability.
I. Simple factory Model
Usage: Create a
Access the database and mysql databaseImprove system performance: Starting from Data Access
1. The using statement has two functions:
① As a keyword, using can import namespaces
② As a C # statement, using can release the memory resources
Layered, new third board layered
In a layered architecture, the system is layered in general, which involves the concept of vertical and horizontal directions. A large system can not simply process information in terms of business logic, it may also
[Note] C # BASICS (13th) -- operator priority of C,
If multiple operators are used in programming, which one will calculate first? This is the priority issue.
For the priority of the C # Operator, see the following sequence:
Brackets. When
C # file Copy,
File Copy can be performed in the following ways:
1. Copy
String sourceFile = @ "c: \ temp \ New Text Document.txt"; string destinationFile = @ "c: \ temp \ test.txt"; bool isrewrite = true; // true = overwrite an existing file with
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