Usage Environment:. NET Framework 2.0 + Microsoft Windows Server 2003 SP1 + IIS6.0Use process:Publish the Web site to a folder (name website), set a virtual directory (name website) in IIS6.0, and then point its local path property to the published
Original source: http://www.codeproject.com/aspnet/popupcalendarcontrol.asp
in the asp.net implement pop-up calendar inAuthor: Isaias Formacio-sernaYou can find many implementations of the calendar controls, but I've found some problems when I
asp.net dynamically add multiple attachments to upload. Recently asked about dynamic multiple file upload, want to do similar to the effect of mailbox add attachment, this function is actually relatively simple, is to add a file element to the form.
Many times, we may dynamically modify the configuration file in the ASP.net, we can complete the configuration file using the classes involved in the following code, the following code is an example of modifying
The previous chapter is just configuring the IIS environment, let's introduce how to configure the ASP.net environment. Running
-cmd as an administrator, enter
C:\Windows\Microsoft.NET\Framework\V4.0.30319\aspnet_regiis-i
The following page
What is called Cross-domain.
A simple understanding is that different servers, different domain names between the access.
How to set the Cross-domain of the ASP.net Web program.
Add the following code to the Web.config
。 What has been done recently is to refactor existing projects. The WEB from to MVC, in fact, is also a push.
There is an import function that uploads the file. The original approach was to have a hidden iframe, set up a form in this IFRAME's page
In the WinForm is very easy to achieve, press ENTER to perform related functions, textchanged events, and to obtain physical path, in the asp.net to achieve a bit of trouble, such articles more, but the code is more chaotic, special will I use this
Using jquery's $.ajax () makes it easy to invoke the ASP.net background method.
Let's start with a simple example warm up.
1 , parameter-free method calls
C # Background code:
1
2 using System.Web.Services;
3 [WebMethod]
4 public static string
Deploying the ASP.net MVC 2.0 program under the XP SP3 system is also painful for a long time to explore.
Environment Description: XP SP3 operating system, VS2010 development environment, iss5.1
No more nonsense, directly into the subject,
This refers to the single point, generally refers to the Web service side, an account at the same time can only exist one ticket.
You may have encountered a problem in development, how to make the same user, at the same time only allowed to log in
Make a little change to the last time, add a more beautiful progress showThe top one is the running picture, the following is the end of the pictureThe icons used are here:Changes to the last front desk are as follows:WebForm54class= "Font" style=
The Url.action () method is also a common method in ASP.net mvc, which has 8 overloaded methods, and the use of each overload method is shown in the following table.
Url.action overloaded List
name
Description
Sample
User login is a very common application scenario. NET Core 2.0 login mode has changed a bit, should be a benign change, become more convenient, easier to expand. Configuration
Open the Startup.cs file in the project and find the configureservices
A recent project has a news module that requires a rich text editor that supports ASP.net, and requires images to be uploaded locally.
To find the Internet, there are a lot of simple JS Rich Text editor, however, when you insert a picture, you need
My site uses the database is SQLExpress, when publishing encountered "Cannot update the database" ... MDF "Because the database is read-only" issue. Writing permissions to Internet guests is not possible.
Search on the Internet, are said to the MDF
Using jquery's $.ajax () makes it easy to invoke the ASP.net background method:
Detailed reference: http://www.cnblogs.com/zxhoo/archive/2011/01/30/1947752.html
1, parameter-free method calls
C # Background code:
Using
There are many similar articles on the web, but most of them are a lot of code. In fact, the ASP has built-in processing of Unicode functions, a simple few lines of code to complete the conversion:Recommendation Index: ★★★★☆
' Convert Chinese
The now () function in ASP can get the current time of the system, the format of this time is like "2008-5-19 10:55:26". However, sometimes we are more accustomed to using the time format "May 19, 2008 10:55 26 seconds". Well, How can we get such a
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