1. Set focus of the control
Controls that can set focus are as follows:
Button, checkbox, dropdownlist, hyperlink, imagebutton, linkbutton, ListBox, radiobutton, textbox
Four methods:
Page. setfocus (txtuserid );
This. setfocus (txtuserid );
Page.
Asp.net: Introduction to Asp.net
Asp.net night talk II: Asp.net built-in object
Asp.net night talk 3: forms and controls
Asp.net evening 4: skills that are easy to ignore in Visual Studio 2005
Asp.net night talk 5: page class and callback
Set htmlTagAdd runat = "server"
In the background request. Form ["test"]
You can get it.
The source code is as follows:
1. Front-end:
No title page
2, background:
§ 8. 3 Generating outgoing URLs
In the past, if you want to find an ID parameter from the detail. ASPX page
Myhyperlink. navigateurl = "~ /Details. aspx? Id = "+ Itemid;But now we only need to write:"> More details
§ 8. 3.1 generating
1. Set the applicationProgramPool
2. Add an application
3. Right-click SS1 and choose manage application> browse
Under normal circumstances, the following problems may occur during configuration.
Solution:
The official version of. Net
Today's iPhone phenomenon has aroused the reflection of more and more domestic entrepreneurs. Why does apple's mobile phone become popular all over the world by relying on it alone.
I remember a saying about the third wave of economy, saying that
§ 5 sportsstore: navigation and shopping cart
In this chapter, you'll learn how to do the following
Use the HTML. renderaction () helper method to create reusable, unit testable, templated controls
Validate form submissions
Create a
§ 4. 7 grouping a custom URL schema
How is the MVC framework supposed to invoke your list () method when it doesn't know whatValue to supplyFor page?Change the URLIn your browser to http: // localhost: XXXXX /? Page = 1 or http: // localhost: XXXXX
The following two types of encryption have been copied from my blog. If you see the same, please include them;
I. Des encryptionAlgorithm:
Using system;Using system. Collections. Generic;Using system. text;Using system. configuration;Using system.
1. Get ASP. Net Value in JS
(1) obtain the value of the server controlVaR S = Document. getelementbyid ("textbox1"). value; // obtain the text value of textbox1
(2) obtain the global variable value
Define protected string st before page_load;In
§ 1. 1 A Brief History of Web Development
Time period
Technology
Advantages
Disadvantages
Jurassic
Common Gateway Interface (CGI)
SimpleFlexibleOnly option at the time
Runs outsideWeb server, so
Due to work requirements, I am not very familiar with my own MVC technology, especially in JS. All of them are transferred back to webfrom development (in fact, each has its own advantages ).
A simple function is to add a confirmation prompt box
Today's Reading Notes (not sorted ):
1. The tool that controls IIS to use 1.1 or 2.0 is called MMC snapin. At the same time, you can select "Edit configuration", even if you set web. config visually.
2. Repeat the aspnet_regiis command, and the-I
The htmlhead class dynamically adds neutron tags, such as and , especially the latter, that is, dynamically configures CSS. Example:Protected void page_load (Object sender, eventargs E)
{
Style bodystyle = new style ();
Bodystyle. forecolor =
Use the following methods in ASP. NET 2.0:
Hyperlink
Response. Redirect ()
Server. Transfer ()
Cross-page posting
The fourth type is "cross-page publishing"Unlike PostBack (only recall itself), The querystring parameter in the URL is no longer
1. New syntax, set in aspx
2. If you use gridview to bind data source controls such as sqldatasource through performanceid, you do not need to use gridview. databind ()-This will waste performance.Datasource and performanceid cannot be set at the
FreetextboxIs an ASP. Net open source Server Control Based on mshtml Technology in Internet Explorer. This is an excellent free software. We can easily embed it into web forms for online editing of HTML content, in news publishing, blog writing,
Use Page. clientscript. registerclientscriptblockAndPage. clientscript. registerstartupscript: Difference:
1. Use Page. clientscript.Registerclientscriptblock
C #Code
Code highlighting produced by Actipro CodeHighlighter
Overview
In general, when designing tables, the primary keys are auto-incrementing. We use the primary key auto-incrementing mechanism provided by the database itself. sqlserver is generally identified by identity, oracle generally uses triggers. In
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.