Both listdictionary and hybriddictionary are similar to hash table classes.
Listdictionary is suitable for storing a small amount of data (up to 10 elements ).
Hybriddictionary is flexible. It uses listdictionary for a small amount of data. When
The "key/value pair" class created or encapsulated by collectionsutil can ignore the case sensitivity of the key.
Main members:
/* Static Method */collectionsutil. createcaseinsensitivehashtable (); // create or wrap hashtable, etc.
Stringcollection is a collection of strings, which is equivalent to a dynamic array of strings.
Main members:
/* Attribute */count; // * Method */Add (); // Add the string addrange (); // Add the string array clear (); // clear contains ();
One of the new features of ASP. NET 4.5 is to improve the model binding method ). By referring to the concepts of objectdatasource and ASP. net mvc, ASP. NET 4.5 extends the model binding modeProgramUsers can more easily use the ASP. NET web form
A lot of friends have been accessed by the database in. net
Program The problem of relative paths in, so every time a mobile program wants to modify web. config
Database path of the database connection string in.
The Web. config statement is
The following is the actual length of a Chinese string in ASP. NET, which may be used in many places.VB. NET:Function strlength (byval STR as string) as integerDim en as asciiencoding = new asciiencoding ()Dim B as byte () = en. getbytes (STR)Dim I
Error message:The callback parameter is invalid. Use in the configuration, or use On the page to enable event verification. For security purposes, this function verifies whether the parameters of the send-back or callback events come from the
ASP. NET Request Processing Mechanism
Preface We all know that the Web request response is based on the HTTP protocol, so we can understand that a Web request and response process is actually a process of sending an HTTP request and receiving an
Jquery validation is a powerful data verification plug-in that supports "validation"Rule is the validation rule. The rule controls or restricts the input controls in the form. For example, "This item is required" and "this item cannot be less than n
1. If you want to control currentpage. index when binding a DataGrid, you must control currentpageindex before bindgrid.
2. Prevent pageindexnumber overflow after page turning. When querying after page turning, use currentpageindex = 0 to specify
1. sqldataread and dataset Selection
Sqldataread advantages: fast data reading. If you do not need to process the returned data in large quantities, we recommend that you use sqldatareader. Its performance is much better than that of datset.
It takes a long time to create a File Upload Component. It's just that you have been busy, and you do not have that motivation.
It is implemented using the implicit httpworkerrequest.
I will not elaborate on the specific implementation
Do not be intimidated by titles. It is actually very simple. Otherwise, you can only write noodles for a lifetime. Program . In particular, most ASP programmers write 3 in 1 (Super platinum: p) programs, barely able to write hierarchical style is
1. sqldataread and dataset Selection
Sqldataread advantages: fast data reading. If you do not need to process the returned data in large quantities, we recommend that you use sqldatareader. Its performance is much better than that of datset.
depending on your needs, a page contains several different buttons. You can click different buttons to generate a gridview in the same area below (of course, their gridview is different ). Previously, multiview was used for control. Several views
The multi-layer architecture of Asp.net mainly aims to solve the relationship among the data layer, logic layer, and presentation layer. My approach is as follows: first create a datacore base class. The base class encapsulates basic operations of
The bitvector32 structure only provides 32-bit storage space (the same as int32). It can be used to quickly access boolean values or small integers (such as small integers less than 7 or less than 15 ).
Main members:
/* Attribute
What is a persistent layer? First, explain what persistence is. persistence is used to solidify the data in the memory and keep the data in the physical storage device. However, in enterprise applications, relational databases are often used to
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.