ASP+ACCESS输出问题 - Web 开发 / ASP
哪里出错了,输出这样的结果??
<%@ Page Language="VB" AutoEventWireup="false" aspcompat="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>读取数据</title>
</head>
<body>
<%
Dim conn
conn = Server.CreateObject("adodb.connection")
conn.open("driver={microsoft access driver (*.mdb)};dbq=" & Server.MapPath("xsw.mdb"))
%>
<%
Dim exec, rs
exec = "select * from Stu"
rs = Server.CreateObject("adodb.recordset")
rs.open(exec, conn, 1, 1)
%>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%do while not rs.eof%><tr>
<td><%=rs("学号")%></td>
<td><%=rs("姓名")%></td>
<td><%=rs("性别")%></td&g
相关问答:
我原本是学jsp的可找了一个ASP的公司!我要重新学习! 学习ASP! 希望大家推荐一本好书给我谢谢
<ASP3.0高级编程> 网上有电子版的
发现网上asp信息时最多的 比其他的都多好多
yun
找本有应用事例的A ......
asp下面,当要根据不同的权限显示一些功能按钮的话会写成
<%
if 权限=1 then
%>
<input type="submit" name="Submit" value="提交" />
<%
end i ......
原先有一个项目是用asp写的,因为系统扩展,我想添加一些模块或网页,想用asp.net写,然后在asp中redirect到aspx文件中,请问是否可以做到,如何在IIS中进行配置。
这样可以省去很多工作量,因为系统以前是别人写的 ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......