ASP+ACCESS输出问题
为什么输出结果是这样呢?
%@ 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("学号&quo
相关问答:
有两个变量 imgUrl1和imgUrl2
Url1="images/1.jpg"
Url2="images/2.jpg"
有个javascript程序,想把Url1和Url2带到javascript里面的imgUrl2和imgUrl2,不知道怎么弄
<script type="t ......
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......
哪里出错了,输出这样的结果??
<%@ Page Language="VB" AutoEventWireup="false" aspcompat="true" CodeFile="Default.aspx.vb" Inherits="_Default" %&g ......