<%
Dim rs1, sql1
If ConnectDB() = True Then
sql1 = "select * from banner"
Set rs1 = Conn.Execute(sql1)
If Not rs1.EOF Then
%>
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><span class="pic" style="width:863; height:374"><img src="Picture/<%=rs1("url")%>" width="890" height="374" align="middle"></span></td>
</tr>
</table>
<%
End If
rs1.Close
End If
%>
ลองเอาไปรันดูแล้วค่ะ แต่ผิดที่ If ConnectDB() = True Then