Asp+rss Reader ProductionTurn from Lingyun's blogI just made a test here. We can use it to specific applications, call their own site in the latest posts to facilitate user subscriptions.The RSS reader displays the page code as follows:
Copy
In a Web application, when a user accesses the application, the session-type variable allows the user to share data in all pages of the Web application, and if another user accesses the Web application at the same time, he has his own session
Read a lot of data in the database.
Connecting him to a string, the format is as follows: str=1## #0 # # #1 ***2## #1 # #1_1 ***3## #1 # # ***4## #1_2 # # #2 ***5## #1_1_1 # #2 ***6## #1_1_2 # # #4 ***7# # #6 # # #1_1_1_1_1
The STR is then divided
Batch input in the application of the database is more extensive, on the volume of the method also has many kinds of input. Below I combine my practical application, talk about how I realize. The main use is the concept of the set of form, by
This is just an ASP tip class thing, although it is suitable for each of the different file names call this function, but there are prerequisites, let's take a closer look at the story.
The following section is the basic page-splitting code:
Set rs=
Copy Code code as follows:
Function Newtxt (Sz,strtxt,cityid)
Dim Ali,icount,i
Dim Ali2
Ali=split (SZ, ",")
Ali2=split (Strtxt, ",")
Icount=ubound (Ali)
Cityid = Request.QueryString ("Cityid")
If Request.QueryString ("Cityid") = "" Then
Let ASP match MySQL
The tools needed
Mysql-4.1.11-win32
Myodbc-3.51.11-1-dll
Myodbc-3.51.11-1-win
Mysqlcc-0.9.4-win32
-------------------------------------------------------------------
Registration file
Maxpagestatefieldlength Properties in 1.asp.net 2.0
In asp.net 2.0, you can force viewstate to be segmented and use the Page.maxpagestatefieldlength property to set the maximum number of bytes per page state field in ViewState. The format is as
We often use modal windows in the process of human-computer interaction, but in B/s development, this is not easy, although it can also be implemented using the window.showModalDialog function (see http://dotnet.aspx.cc/ SHOWDETAIL.ASPX?ID=49ML4AO8-5
The code is as follows:
Just save this code as an ASPX file, such as Test.aspx. Then put it in the wwwroot (assuming your virtual directory is the default). To do a test.jpg picture, you can print the text of the font "XXFarEastFont-Xingkai" in
Customize Information dialog box
public class MessageBox
{
Define a Web page to display user-defined error messages
System.Web.UI.Page p;
instance, the parameter is: This example: MessageBox mb=new MessageBox (this);
This parameter
1.<globalization requestEncoding="gb2312" responseEncoding="gb2312" /> Or
<META http-equiv="content-type" content="text/html; charset=gb2312">
2. When downloading files, specify the filename, the Chinese filename appears
This is a batch file, copied down to save for repairasp.bat execution can ~
Echo is being repaired, this process may take several minutes, please wait ...
Copy Code code as follows:
rundll32.exe
Some of the components that we usually use when using ASP for network programming, because the components allow us to do complex operations easily, but the ASP defaults to not integrate all the components, so we need to install them when we need to
Server-side ease of operation I do not blow, the Earth people know, it is the most annoying than the page refresh, the head was brushed dizzy, and he refreshed, but also triggered the server side of the event (solution:
The example of this article describes the Asp.net+ajax simple paging implementation method. Share to everyone for your reference, specific as follows:
This involves two. aspx files, one called Default.aspx, one called Ajaxoperations.aspx, the first
Recently because of the need for work, to the static page to implement pagination, think, and decided to use Ajax to achieve, so I have to do the following such a thing, screenshot as follows:
Copy Code code as follows:
ajax Static
Copy Code code as follows:
Function Autolinkurls (strstring)
Dim match, matches, offset, url, email, link, relnkautolinkurl
Relnkautolinkurl = "[[%URLText%]]"
If not IsObject (REGEXP) Then Set regExp = New regExp
Regexp.global = True
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