it took a long time to learn about the sliding door technology in CSS the day before yesterday, because it is very common. key: 1. XHTML:
homepage
Work query and review
Manage work categories
ASP businessProgramOfCodeThe form is generally a template that separates the interface from the function. The function is encapsulated in the DLL component.Templates are easy for developers and users.Today I want to talk about the DLL encapsulation
Original article address:Http://muent.com/a/develop/aspnet/201004261271.html
This articleArticleCan also: http://www.cnblogs.com/xfrog/archive/2010/06/25/1764973.html
1. Create> Project> Visual C #> Windows service;2. General Services Program We
On the run ASPX page, a message is displayed:
Server ApplicationsProgramUnavailable the web application you are attempting to access on this web server is currently unavailable. Please click "refresh" in the web browser to try your request
In the Chinese version of Asp.net, I made a small
ProgramIn the English version of Win 2003, a problem occurred. The Chinese text showed garbled characters, checked a lot of information, and finally changed the settings in Web. config:
The
The get or POST method can be used for asynchronous calls through jquery and remote MVC. Next we will demonstrate a POST method.
The first parameter of the post function is the background action method corresponding to MVC, and the second parameter
1. DateTime numeric type
System. DateTime currentTime = new System. DateTime ();
1.1 take the current year, month, day, hour, minute, secondCurrentTime = System. DateTime. Now;1.2 get current yearInt Year = currentTime. Year;1.3 take the current
Recently, the company has to complete the function of popping up messages in real time. Find a third-party control popupwin on the Internet. The pop-up window of this control is the same as the pop-up window of msn friends, and the effect is quite
Some time ago, when optimizing the front-end code of the website, we found that the title label content in the head was displayed with a line break. During page development, we used the Master page.
BUG effect:
City Bank-blog Park
The
Fine Uploader (http://fineuploader.com/) is a Javascript component that implements ajax file upload.
This project attempts to achieve a user-friendly file-uploading experience over the web. It's built as a Javascript plugin for developers looking
I have already done it several times, but I have to forget it every time. I have recorded it today.
(1) Add a web service, XXX. asmx.
(2) Add system. web. extensions reference
(3) modify the property of the XXX class to [ScriptService]
(4) Write a
First, asp.net applications are structured in three layers: presentation layer-business layer-data access layer. This is a common mode, but I have added some processing between layers, it mainly refers to data transmission between the processing
Public void CellToCell (DataSet ds){# Region required objects for instantiation// Instantiate an Excel Document ObjectMicrosoft. Office. Interop. Excel. Application exapp = new Microsoft. Office. Interop. Excel. Application ();// Set visible// If
'); window. location. reload () ">Reply
A common page points to the link... passing the parameter ID in the past... and then adds window. location. reload ()
This window. location. reload () indicates that the parent page is refreshed after the
Context: Generally, the system has different user roles, such as system administrator admin, Super User manager, and general user worker.Previously, a session was used to reserve a value, for example, session ["userType.Features: convenient, but
1. custom error page:............
The mode attribute indicates whether to enable Custom User pages. It can have three values, as shown below:On enable custom error pageOff disabled custom error pageRemoteOnly enables custom error pages, but only
How to Use MasterPage
1. Create a MasterPage with the suffix. master, for example, x. master. is used to define the vacancy. For example:
2. Create a content page.In the NewItem dialog box, select "select master page" and select the MasterPage
Browser and HTTP operations
Server reply
The slave server requests protected resources. The HTTP operation is:GET/default. aspx
If no authentication Cookie exists, redirect the request to the logon page to collect creden. Use
Java has log4j to record error logs, while asp.net can write a log to record errors by itself!
Encapsulate a class first
using System;using System.Collections.Generic;using System.Linq;using System.Web;
Using System. IO; using System.
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