ASP implementation of a row of multi-column Display method instance program

Source: Internet
Author: User
Program | show

Not easy to write something, but because the mouse is too sensitive for the sake of not yet submitted to the Web page is not careful to be closed. Depressed. Write a simple point.

ASP a row of multiple columns display the common method is to control the number of columns and total records of the table with two loops.

Today thought of using div to control. Can be achieved in general, but it is not appropriate. As follows:

<%do While not rs.eof
%>
<div id= "Amdimanagetype" >
<input name= "Txtmanagetypeid" type= checkbox "value=" <%=rs ("Managetypeid")%> "/>"
<%=rs ("Managetypename")%>
</div>
<%rs.movenext
Loop
%>

div CSS settings such as: #AmdiManageType {height:30px; width:250px;float:left;}



Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.