Engaged in. net B/S development, can not simply stay on the basis of the existing east will be used, a deeper level of depth, is the development of server controls ,. NET framework development ......Basic knowledge of server control development:
I. Error targeting:Two configuration settings affect how error information is displayed:
1. custom errors mode-this setting enables or disables custom errors. when custom errors mode is enabled, errors on a page are hidden. this setting has three
What is the approch of Upload File in Asp.net used to do.
The answer is using a form to upload file. You can use the form and file HTTP element. And you also can work with the Asp.net UI component. Like htmlinputfile.
When you try to
// Use Asp.net to draw a pie chart (which can be used for various voting tasks)
Program )
// Compared with ASP, Asp.net has more powerful functions. using GDI +, you can easily implement many graphics Functions that you previously could not do.
//
Chapter 3 ASP applications Program And sessions In the previous sections, we introduced ASP's methods for accessing a customer request and generating responses. This chapter will discuss the other two ASP objects. Is the application and Session
1. Introduction to urlrouting
URL (Uniform Resource Locator), a uniform resource locator, is a way to fully describe the web pages or other resource addresses on the Internet.
Generally, a URL consists of six parts in the following format:
Secrets of Reading Notes in ASP. net2.0-page output CacheArticleWe talked about how to cache all the page output. When we only need to cache part of the page content, while the other part of the content needs to be dynamically updated, at this time,
About ASP
ProgramRunning appears
ADODB. Stream error 800a0bbc file writing failedSolution!
Recently, after migrating a website in the company's virtual space to the company's own server, the ASP program used to upload images cannot run
ArticleDirectory
File Size upload restrictions
Review above
We talked about various server-side controls, which brought us a lot of convenience in development. Let's continue to look at other server controls.
1. fileupload
Requirement: create a class library testcontrols, which contains several ASP. NET Server controls, some of which will call the client's JavaScript Functions and put these functions into testscript. js.
It is actually a simple requirement, but I
Some time agoProgramThe jump speed between views is very slow due to a large performance problem. Through fiddler debugging and analysis, it is found that the client sends a large number of bytes to the server during view conversion (PostBack),
1. Example XML file model. xml XML operation example www.abc.com.cn . Net Open Source Forum XML operation example GIF | JPG | RAR & Lt; filesize & gt; 1024 & lt;/filesize & gt; script | IFRAME onload | onmouseover admin | webmaster | drbbs 0.0.
There are many pages that cannot be accessed directly, often due to session or cookie control. You need a user name and password to log on before you can see how to use Asp.netProgramDirectly retrieve the page to be verified? The following
We use request. servervariables ("remote_addr") to obtain the IP address of the client,
However, if the client is accessed by a proxy server, the IP address of the proxy server is obtained, rather than the real IP address of the client.
To
In ASP. NETProgramTo use the session object, make sure that the enablesessionstate attribute in the @ page command of the page is true or readonly, And the sessionstate attribute is correctly set in the web. config file.
Session status
Using System; Using System. Data; Using System. configuration; Using System. Web; Using System. Web. Security; Using System. Web. UI; Using System. Web. UI. webcontrols; Using System. Web. UI. webcontrols. webparts; Using System. Web. UI.
Example of using ADODB to call SQL stored procedure in ASP (vbscrtp):
Set cmd = server. Createobject ("ADODB. Command") 'creates an objectCmd. activeconnection = conn' database connection objectCmd. commandtext = "Stored Procedure name" 'name of the
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.