Recommended: ASP tutorial: Use ASP to generate image color verification codes Use ASP to generate 49 lines of color verification code for image, three files Asp files: Code.Asp Data files: body.Fix, Head.Fix Usage: <img src=code.asp>
I finally wrote something, but because the mouse is too sensitive, I accidentally locked up before submitting the web page. Depressed. Write it simpler.
Asp The commonly used method for displaying multiple columns in a row is to use two loop statements to control the number of columns and total records in the table.
Today I thought of using div to control it. It can be roughly achieved, but I don't know if it's appropriate. as follows:
| The following is the quoted content: <%do while not rs.eof %> <div id=AmdiManageType> <input name=txtManageTypeID type=checkbox value=<%=rs(ManageTypeid)%> /> <%=rs(ManageTypeName)%> </div> <%rs.movenext loop %> |
The css settings of div are as follows: #AmdiManageType{height:30px; width:250px;float:left;}
Share: Comparison of several ways to generate static HTML files by ASP There are many benefits to converting dynamic pages to generate static Html files, such as generating html web pages is conducive to being included by search engines (especially for pages that accept dynamic parameters). When accessing the front desk, it is separated from data access, alleviating the pressure on database access and speeding up the opening of web pages.