These years have basically learned the basic knowledge of the front-end, and the fourth class in those years is Asp.net. Of course, at that time, I read many tutorials, such, of course, things have been mentioned in many things, such as
Environment configuration is required when creating a dynamic web page. Microsoft IIS is generally used, but IIS is not installed by default. Therefore, you need to install and configure it when using it, the procedure is as follows:
Open the add
(1) streamlining, "too many words to lose", it is also a hidden danger to have too many files. FCKEditor supports multiple server scripting languages. In actual use, we cannot use so many files at all. We need to streamline them according to our own
The ASP page that was originally running normally suddenly prompts today:
Copy codeThe Code is as follows: Microsoft VBScript runtime error '800a01a8'
Missing Object: 'xmlDoc.doc umentElement'
/Work/Menu. asp, row 80
Find the relevant Code as
Copy codeThe Code is as follows: using System;
Namespace Utilities
{
///
/// Common DateTime Methods.
///
///
Public enum Quarter
{
First = 1,
Second = 2,
Third = 3,
Fourth = 4
}
Public enum Month
{
January = 1,
February = 2,
March = 3,
Else l = 4,
This is a frequently asked question. How to download files through ASP. NET is a big but small problem. We should start from an early age. When we want users to download an object, the simplest way is through the Response. Redirect
1. Prepare the interface code first:
Copy codeThe Code is as follows:
URL updated:
click here
2. RadioButtonList is converted to , and its members are converted to . The script code to change the URL value is as
First look at the interface code:
Copy codeThe Code is as follows:
Select the car type:
The ToolTip of the DropDownList control attribute is converted to the Title. The value of the title can be used as the
First, prepare the Page code:
Copy codeThe Code is as follows:
Select color
The script code is as follows:Copy codeThe Code is as follows: Recipe8
The final result is as follows:
You can also add dynamic content in the following
• Maximum length of input characters
• Character truncation speed can be set
• Customizable text styles of prompt information (improved custom text content)
This plug-in calculates the length of English characters and Chinese characters.
To put it
ASPX page access requires. net support.
Check whether the installation is complete. NET, open IIS, right click on the default website, if no ASP. The. NET tab is not installed or is not installed. NET registered to IIS.
1. Not Installed.
When a user needs to enter some sensitive information such as passwords, credit card information, and bank accounts, the user prefers to manually press the data through the keyboard, instead of copying and pasting the data through the
The following code can achieve this switching effect.
First, let's look at the interface:Interface code:Copy codeThe Code is as follows:
Script code:Copy codeThe Code is as follows: Recipe2
1. First, create a table (UserInfo ).
Main field Id, uname, upass.
2. Create a stored procedure with a returned value
Copy codeThe Code is as follows: create proc proc_addUserInfo
@ Uname varchar (50 ),
@ Upass varchar (50 ),
@ Returnc int output
As
LInq pagination
Copy codeThe Code is as follows: testDataContext dc = new testDataContext ();
Public string GetPageNum (GridView GridViewName, int pagesize, IQueryable SQL)
{
Int page;
If (HttpContext. Current. Request. QueryString ["page"]! = Null)
① Data format verification control (RegularExpressionValidator)
Copy codeThe Code is as follows:
Use a custom regular expression to match the pattern of the control to be verified.The preceding code is used as an example:The ErrorMessage attribute
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.