Launched at Microsoft. NET and carried out a large-scale popularization after the ASP. NET gradually entered the mainstream of information system development. At the same time, however, the old system surface developed with ASP is being integrated,
Last done a project, involving the restoration of the database and recovery, to the Internet to find a bit, is the use of SQLDMO implementation, as long as the addition of SQLDMO reference is good, and then use the next class method can be achieved.
one, commonly used ASP time function
1, now () get the current system date and time, ASP output format:
2 years (now ()) to get the year, ASP output format:
3, Month (now ()) Gets the current month, ASP output format:
4, Day (now ()) to
The last time we had a general understanding of JavaScript Microsoft AJAX Library Because of the temporary things, not to join the case is a bit abstract, this time will certainly through some cases more intuitive to asp.net the AJAX script Library
The RadioButtonList control represents a list control that encapsulates a set of radio button controls.
You can add radio buttons to a Web page using two types of ASP.net controls: Individual "RadioButton" controls or a "RadioButtonList" control.
Therefore, in my exposure to so many languages, ASP is the least stringent one, is the least required for programmers.
Yesterday tested the ASP.net, PHP and ASP running speed comparison, today again to impulse, want to see the definition of
Some time ago the author in the development of the need to dynamically create Web Components, this thought is a trivial matter, who knows that easy to do when it is difficult to do. There's really a little problem in there. The following is a
First, establish a stored procedure
Create a new stored procedure for the Employess table in the Northwind database in MSSQL (function by LastName for fuzzy query):
CREATE PROCEDURE employess_sel @lastname nvarchar (20)AsSelect LastName from
Writing a:
Copy Code code as follows:
Sub sendsms (mobile,msg)
If you need to send multiple mobile phone number, please automatically cycle, multiple mobile phone number between "," separated, the last mobile phone number does not add,
Found that a lot of ASP's system in the call to the article if not generate static, the output is similar
Http://www.xxx.com/show.asp?id=26 in this format.
If you can change http://www.xxx.com/show/?26 this format, feel good stopgap a lot, of
Front end is to give people look at the interface, backstage staff not only to know the background code, but also to know the layout of the front end. Sometimes it's more than the front end people know, because it's possible that the front end is a 2
Http://www.google.com/search?hl=zh-CN&q=ncms&lr=lang_zh-CN To do an ASP site, basically are news, and some single articles, announcements. So find this ncms on the Internet. The Compress bag is only 300k, it is small. function is not much, mainly
1. Database Access Performance optimization
Connection and shutdown of the database
Accessing a database resource requires creating a connection, opening a connection, and closing a connection several operations. These processes need to exchange
For example, a Chinese character will only be counted as a byte, in typesetting, if all is Chinese characters, say, anyway, no difference, but if the string has been manipulated by Chinese characters and English letters, it is inconvenient, the
How to replace the last comma with an empty string in ASPFor example Aaa,bbb,ccc,eee, this stringHow to make the last comma change no, the other does not change AHQuestion added: For example aaa,bbb,ccc,eee, this stringHow to make the last comma
It's easy to write, it's just a function.
Function FormatUrl (yes)
If Mid (yes,5,1) <> "" Then
Yes1 = Left (yes,3)
Yes2 = Right (Yes,cint (len (yes))-3)
FormatUrl = yes1 & "." & Yes2
Else
Formaturl=yes
End If
End Function
' Get the remote page
The following is the source code, please name it. ASP files.
Copy Code code as follows:
If Request ("action") = "1" Then
Word = Request ("word")
url = Request ("url")
If Word <> "" then
GetCategories ()
If URL <> "" Then
Default Document Exception error
IIS prompts when you modify the default document
An error occurred while performing this operation.
Detailed information:
FileName: \\?\e:\dnn\web.config
Line number: 102
Error: Cannot add a repeating
Using the Soaphead method, you can add header information to the WebService request, and when someone calls our WebService, you can check the header information of the request and verify that it prevents the program from being invoked outside of the
First, overview:
WEB Services is an online application service published by an enterprise that completes its specific business needs, and other companies or applications can access and use the online service over the Internet. It logically provides
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