<%

db="/book.mdb"
Set conn = Server.CreateObject("ADODB.Connection")
connstr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(db)
conn.Open connstr

Set rs=Server.CreateObject("ADODB.Recordset")
sql="Select * from ebook "
rs.open sql,conn,1,1
if not rs.eof then
%>
 
<% do while not rs.eof %>
name:<%=rs("name")%>Time:<%=rs("time")%><br>
<%
rs.movenext
loop
rs.close
Set rs=nothing
end if
%>


Set rsw=Server.Createobject("ADODB.Recordset")
rs.open "Select * from ebook",conn,1,3
rs.addnew
rs("title")=uname
rs("qq")=qq
rs.update
rs.close
set rs=nothing

相关文章:

  • 2022-03-07
  • 2021-07-06
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2021-11-18
  • 2021-07-13
  • 2021-05-16
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2021-08-30
  • 2022-12-23
相关资源
相似解决方案