[asp/vbscript]
Can any one tell me what's wrong in this code.
I am displaying data in table format.I have used same mentioned in this link
http://w3schools.com/ado/ado_display.asp
An empty table is displaying without data and without columns.
<table border="2" width=100%>
<%
OpenSqlConn
sql="Select * from master_i"
Set rs=Conn.Execute(sql)
do while not rs.EOF
%>
<tr><td><%Response.Write(Item_id)%></td>
<td><% Response.Write(Item_s)%></td>
<td><%Response.Write(Unit_s)%></td>
<%rs.MoveNext%>
</tr>
<%
loop
rs.close
Conn.close
%>
</table>
If any one know the correct code plz let me know.
Thanks in advance.





Bookmarks