<%
Dim the rs, SQL
For I=1 to len (wenzi)
Set the rs=server. Createobject (" adodb. You ")
SQL="select * from ziku where danzi like '%" & amp; Mid (wenzi, I, 1) & amp;" "
% '
Rs. The open SQL, conn, 3, 3
% & gt;
<%
% & gt;
<%
Rs. Close
Set the rs=nothing
% & gt;
<%
Next
% & gt;
CodePudding user response:
For xx=0 to rs. Recordcount - 1
If (xx + 1) mod 4=1 then
% & gt;
<%
Elseif (xx + 1) mod 4=0 then
% & gt;
<%
The else
% & gt;
<%
End the if
Next
If the rs. Recordcount> 0 and rs. Recordcount mod 4 & lt;> 0 then
For xx=1 to 4 - (rs. Recordcount mod 4)
% & gt;
<%
Next
Response. Write (" & lt;/tr>" )
End the if
% & gt;
- Related
- Consult a native js and jq which one is more important, shou
- Consult bosses, how do you write the SQL statement, thank yo
- Consult the teacher - binary search questions - soft junior
- Consult the apache
- Pure novice, consult the role of an op-amp
- Comparison of two set, consult everybody masters or an effic
- Consult about System. Arraycopy related issues.
- Old aunt beginners small program consult, cloud function, to
- Consult the vue perttier rules of the project, no matter any
- Dear bosses, consult. Js add attributes to label, then use t
- Links:
- CodePudding