The first two sections are all asp.net mvc3 data annotations, but free data annotations are certainly not suitable for all occasions, so sometimes we need to customize the data annotations. There are two types of custom data annotations,
1. IIS Fast browsing
IIS supports the coexistence of multiple "site (Sites)" Hosts on a single server. These sites consist of IP addresses, host names, and/or port numbers. For example, suppose my site is http://www.aspcool.com, its IP address is 1
1, call a stored procedure without parameters
Set Conn=server. CreateObject ("Adodb.connection")
Set Cmd=server. CreateObject ("Adodb.command")
Strconn= "Dsn=pubs;uid=sa;pwd"
Conn. Open strconn
Set CMD. Activeconnection=conn
cmd.commandtext=
Asp. NET and JS interoperability issues with cookies
Recently the problem of the cookie wrapped for several days, because the project needs, both the client and server have to operate cookies, and server-side cookies are with subkeys, the previous
article outlineIntroduction & Use Scenario Jqgrid some instructions Jqgrid and asp.net consolidation detailed steps
Pre-preparation
Frame Build
Data padding
Data increase/deletion/change
Other Introduction & Usage Scenarios
Jqgrid is not a novelty,
Asp. NET Learning Notes 002--asp.net server-side control what did 2
Previously written courses are not attached to the source code, I am sorry!In the course of the source code can add QQ request: 1606841559Technical Exchange QQ1 Group:
Problem:The following error occurred while on the Windows Server 2003 + IIS6.0 for the. Net 2.0 Web site:
The page cannot be displayedYou attempted to execute a CGI, ISAPI, or other executable program from a directory, but the directory does not
Preface
I have been diving in the blog park for two or three years, I have seen a lot of great God's articles here, and learned a lot of things. It can be said that I am learning from the blog Garden Nutrition growth.
Think that year, I also take 10
[Turing Book recommendation] Three basic web standards Tutorials: Basic HTML tutorials are coming soon!CSS BasicsBasic JavaScript tutorial
Why should ASP. NET programmers learn CSS at the beginning of the month ?, It attracted the attention of some
Asp.net arranges the Excel File Export program and reports the 80070005 8000401a error Solution
. Net Excel export 80070005 error solution:An error occurred while retrieving components whose CLSID is {00024500-0000-0000-c000-0000000000000046
To initialize the container and populate the dependencies of a Web service application, you must expose user interfaces (such as Windows Forms, WPF, and ASP. NET web forms) in different methods of the application type ). This topic describes
1. Response object
The response object is an instance of the httpresponse class. This class is mainly encapsulated fromASP. NETThe HTTP Response Information of the operation.
1. attributes of the response object
(1) contenttype attribute. The
@ HTML helper simple description, record some basic @ HTML helper corresponding to HTML, @ HTML basically contains the Form Control in HTML and common htmlIn @ HTML, The for mainly targets HTML types with strong types.Used to describe the tag in @
Press "F12" to try the effect.
Note: common time functions:
Now () gets the current system Date and Time. asp output can be written as follows:
Year (now () gets the year, ASP output:
Month (now () gets the current month, ASP output:
When day
Overview:
Use protected configurations for encryption
Web Applications
Sensitive information (including user name and password,
Database connection string and encryption key ).
After the configuration information line is encrypted, attackers
1. New Features of ASP. NET 2.0 database development:
Compared with previous versions, ASP. NET 2.0 has added more features, greatly improving the efficiency, management, scalability, and performance of developers.
In terms of development
Document directory
ASCII code table
ASCII code table
The following table lists the 0-127 characters in the character set.
Code
Character
Code
Character
Code
Character
Code
Character
0
32
[Space]
Nine built-in Jsp objects and nine built-in jsp objects
Nine built-in Jsp objects
Implicit object
Description
Request
After translation, the corresponding HttpServletRequest/ServletRequest object
Response
Jsp jstl label language library and jspjstl label
The el language $ {} is used by default in jsp. I didn't expect jstl labels to be unavailable in jsp. You need to import jstl. jar and standard. jar to identify and use them.
If jsp is used in
JSP2.0 Standard Commands, JSP automatic import package, JSP four major scopes, jsp2.0 four major
Three commands are defined in the JSP 2.0 specification:
Page command
Include command
Taglib command: import the JSTL tag Library to the JSP page.
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.