Asp.net|datagrid since the use of the penetration. NET DataGrid will no longer bother to use ASP to draw tables, so think of a compromise approach, visit the DataGrid function wrote a Tbgrid class, so you can easily reuse code. It is more convenient
js| Refresh | no refresh
As shown in the image above the news list is not uncommon in the major sites, with a news list is not the only page, today we want to talk about the paging between the way. The traditional approach is to upload the page
In order to avoid the maintenance difficulties of ASP program and HTML code, this article introduces a method, using template to separate programs and pages, making programming easier.
When using ASP to make a site, there is often a mixture of
Asp.net| Skills | request
Purpose, the remote server back to the HTML, parsing into the class, for the GridView, such as the provision of data sources
1. Post data to remote server
public int postdata (string URL, string data, out string info){info =
excel|word| Create | tips | online
ASP has the ability to dynamically export any Office application file format. Before we start writing code, the first thing we need to do is set the correct file type, because the browser needs to know how to
Asp.net| Virtual Host
See on the net, a lot of friends do urlrewrite in asp.net, use Httphandle+server.transfer method. In fact, this method is wrong. First, the httphandle can not achieve the Urlrewrite, the second server.transfer is the standard
Dynamic | static | page | page |
Some time ago There is an ASP page to perform slowly, the number of visitors, but not often modified, and lazy directly into static, every time to download from the server to change, had to think of ways to convert
Trojan Horse | site
Friends of the site has been hacked several times, and is always changed pages, let me help to see where the problem is. So I found that can find a Trojan horse to look for easy ASP Trojan Hunt, uploaded to the site to check ASP
asp.net
ASP.net 2.0 has been out quite a long time, but the domestic book about ASP.net 2.0 seems very few. A few days ago deliberately paid attention to ASP.net 2.0 of the book, some feelings, and you share.
If you are a person who is very
Function
Here is a function to remove the image address from the HTML:The main principle is to use regular judgment properties. This will be very useful in the acquisition program.The functions are as follows:
Function showpic (str)Set objregexp =
dreamweaver| Program | User Registration
1, in the site to create a new file register.asp to do the registration page, Select the new project "ASP Javascript." Again, because the file conn.aspwas previously built and connected to the database, the
Dynamic | Web page
Sometimes, you need to put a certain number of words and pictures in a table column, and need to dynamically display the number of rows and columns, such as 4 pictures in a row or 5 pictures, sometimes it is difficult to judge the
Tricks | scripting | solving
I'm learning server knowledge recently. Sometimes it is troublesome to encounter an error that the ASP script runs overtime. Found relevant information, including some solutions.
IIS default script timeout is 90 seconds
Objects | paging | Resolve on the forum there are many articles about ASP pagination, the basic idea is consistent, I put these netizen's thought to deepen a bit, use JavaScript to set up on a layer of object based coat, so call up don't appear
access| Data | database | Display write:
1: Read the GIF image file into memory (a variable strtemp).
2: Write to the database.
Dim bintmp () as Byte
Dim Conn as ADODB. Connection
Dim rs as ADODB. Recordset
Dim strSQL as String
Set conn = New ADODB.
Send a message | tips |
When we are making a website, we usually have some wrong operation of the visitor or the defect of our website itself, cause a non-existent page to be accessed, there will be 404 error messages, if the enthusiastic visitors
Source code We all know the ASP this kind of server-side processing programs, one of the benefits is that only to the client output
The standard HTML stream. So it can play a role in hiding details from the customer. Which means that when we're in
asp.net|datagrid| Tips
Although the asp.net datagrid is well known as a very good form control, but it is not flattering to mention the editing of the DataGrid, there is a big problem with the data submission function of the DataGrid: in the
asp.net| data
Binding with DataBinder.Eval does not necessarily concern the data source (Dataread or DataSet). You don't have to care about the type of data. Eval converts this data object to a string. A lot of work was done on the bottom bound,
request| Objects | tutorials | built-in objects
System learning ASP, is first from the ASP's several large built-in objects started. Generally called Five objects: Request, Response, Server, Session, application. Today, let's look at the request
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.