Free ASP. net2.0 and 3.5 free space, support for ms SQL Server express2005 and FTP
Http://www.qsh.eu/free offers 50 space and 2g Monthly Traffic
1. First, apply for an account at http://www.qsh.eu/freeafter you have completed your website in
ASP. NET Process Model
1. Two process models:①. IIS 5.0: aspnet_wp.exeIIS versions earlier than 6.0 use the ASP. NET Process Model (aspnet_wp.exe ).For example, IIS 5.0 and IIS 5.1 (default in Windows XP)Each Independent ApplicationProgramThe
Everyone familiar with IOC containers knows that the most depressing thing in the development process is that when you add a service, you need to register the service, and some useCodeInjection, some of which are xml configuration injection. No
Session enables ASP to implement more functions, but ASP session has many limitations:
Process dependency: the ASP sessionstate is stored in the iisprogress, And the inetinfo.exe program is also used. When the inetinfo.exe process crashes, the
Note: You can randomly generate a password and then email it to the registered user. You can confirm that the user's email is correct. Automatically Generated passwords are often more secure. At the same time, you can filter invalid users.
Save the
Public Paging module in ASP project
In large ASP projects, many pages involve the paging function. If every page is written with a flip-page program, this work reduces the work efficiency, is not conducive to the modularization of the project, and
1. open a new window and send parameters:
Transfer Parameters:
response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')</script>")Receiving parameters:
string a = Request.QueryString("id");string b =
12. horizontal panel scrolling and vertical auto Scaling
13. Press enter to convert to Tab
onkeydown="if(event.keyCode==13) event.keyCode=9" 14. DataGrid super join ColumnDatanavigateurlfield = "field name" datanavigateurlformatstring =
18. Date formatting
[ASPX page:
Shown as: 19:44:28
I only want]
How should I change it?
[Format date]
It is usually the object (datetime) objectfromdb). tostring ("yyyy-mm-dd ");
[Date verification expression]
A. The correct input format is as
'----------------------------------------------------------------------
'Keep this declaration information during forwarding. This declaration does not affect your speed!
**************** ****************
'Modifier: Liang wushi
'Email:
1. How to use ASP to determine the virtual physical path of your website
A: Use the mappath method.
The physical path to this virtual website is:
2. How do I know the browser used by the user?A: Use the request object method.Strbrowser =
A question raised by many people: How should I tell my IIS application or virtual directory to use ASP. NET 3.5 instead of ASP. NET 2.0?
Generally, people enter IIS6 or iis7 and create an application pool, View Properties, open the drop-down list,
1. Incorrect CSS file path
This problem is a basic problem in Web development. Generally, this problem occurs when relative paths are used, or style files are written in the template page, this problem occurs when the content page and template page
Today, I opened my blog on the first day, and I am very happy because I can study technology with my friends in the garden. I hope to share the accumulated and learned knowledge in projects with my friends in the garden. Make some effort for the
Principle of resumable Data Transfer
Before learning about the principle of HTTP resumable upload, let's talk about the HTTP protocol. HTTP is a simple TCP-based protocol, divided into two types: request and reply. A request protocol is a protocol
Freetextbox is no longer open-source, and csdn uses this online editor. Its name is FCKeditor, which is open-source.FCKeditor Fck composition:1. fck core file (including images, JS ...)2. fck. Net file (just a DLL named fredck. fckeditorv2.dll)
Fck
You should verify all untrusted input in the program. assume that all user input is invalid. you can provide form fields, query strings, client cookies, and browser Environment Values in applications, such as user proxy strings and IP addresses.
The
In ASP. NET 2.0, a reasonable solution has been provided for cross-Page Submission.
The following is an example:
Beginpage. aspx: Pay attention to the postbackurl attribute setting of button1
untitled page
Endpage. aspx: note the attribute
Asp.net 2.0 tips
Original: http://www.cnblogs.com/yukaizhao/archive/2007/04/21/net2_0_tips.html1. After submitting the page, keep the position of the scroll bar
You can add the maintainscrollpositiononpostback command to the page command.
2. After
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.