Using System; namespace My.utils { /// ///Date Operations common tools /// public class Dateutils { public dateutils () { } /// ///The year difference of the comparison date /// /// Start Date /// the year difference with
A type converter is a more important element in implementing a custom server control property. In this paper, the basic concepts and implementation methods of type converters are introduced.1. type converter Basic ConceptsA type converter is an
1, IIS under 301 settings Internet Information Services Manager-> virtual directory-> to a URL, enter the destination URL that needs to be redirected, and select Permanent redirect for resources. In IIS, you can also implement features such as
Most of the Excel.Application (http://www.blueidea.com/tech/program/2006/3547.asp) components are used to generate
Find error prone, and for most of the rookie like me, more trouble, considering the previous days with asp+ template +adodb.stream
Cross level two domain nameWe know that cookies can be accessed across level two domains, which is well understood, such as the Web application you www.test1.com create a cookie, To access the two-level domain name corresponding to the bbs.test1.com,
1, a new class, implement IHttpModule interface
Code
Copy Code code as follows:
public class Sqlhttpmodule:ihttpmodule
{
public void Dispose ()
{
}
public void Init (HttpApplication context)
{
Context.
Now I'm going to write out the reason and the solution.
asp.net session missing reason:Because the ASP.net program is the default configuration, the session setting in the Web.config file is as follows:
We will find that there is an attribute mode
If you delete all of the HTML tags inside, you may have difficulty reading (such as A, IMG tags), preferably by deleting a part and retaining part of it.
In regular expressions, it is very easy to understand that it is quite understandable to
It's not a new thing to send emails with asp.net. There are many ways to send, such as SmtpMail method, socket method, through Third-party components JMail and so on. But this article is not about the technology used to send mail, But through a
vb| Solution | Source code | perform |shell| asynchronous | sync
Arisisi Web development team in the development of an ASP system, the need for Synchronous call VB (DLL) to perform shell operations, ASP->VB (DLL)->shell->rar.exe synchronous
The ASP obtains the remote picture stream data through the XMLHTTP, and saves to the local, the first picture gathers the image to generate the thumbnail image.
The specific code is as follows:
'=================================================='
Traffic | statistics | traffic | statistics
In the current Web site statistics System is most of the CGI, but the writing is particularly complex, and the ASP to learn simple, more and the advantages of combining the database, so the combination of
Code Separation | problem | page | code separation
In order to avoid the maintenance difficulty of ASP program and HTML code mix writing, this paper introduces a method, using template to separate programs and pages, making the program design easier.
Data | database
ASP Object Access database method
In ASP, the object that accesses a database is called ADO (Active Data Objects), contains three kinds of objects mainly: Connection, Recordset, CommandConnection: Responsible for opening or
Notes | tutorials | Web pages
"ASP Web page production tutorial." Wangguorong, People's post and telecommunications press.
How to open an MDB database: First define a Openmdb subroutine, and then call in the main program.
Option Explicit
Sub Openmdb
asp.net| Access | control | data | Data Source | asynchronous
Summary: This is the third in a series of articles that introduce data source controls. In this article, Nikhil focuses on how to perform and encapsulate asynchronous data access while
This article is an example to explain the article. As an ordinary programmer, I am well aware that an excellent routine is very helpful to those who are learning to program. The routines used in this article are a contact information management
Here we say three ways to script optimization:
First, when we do web development, when we refer to the JS file, we will generally put the JS file in the head tag of the document, when the page load, the browser will press the order from top to
System log and exception handling ③
In the previous section, we talked about how to catch exceptions and log logs, which we said were not captured or forgotten, including 404 errors, and so on, we handled the exception uniformly.
This is to use
Original address: Http://aspnet.4guysfromrolla.com/articles/031407-1.aspx
Introduced
asp.net 2.0 's health monitoring system is used to monitor the operating conditions of ASP.net programs in the operating environment. It works by logging event
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