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
相关问答:
本人有三年开发经验,现在找工作(厦门),,,有意者请联系QQ:523054271
1.5年工作经验找工作 他要多少 我要一半~~
别说三年的了...就是5年的也一抓一大把.....
俺需要用asp+access做一个进销存软件,您能做 ......
不是直接打开,而是读取内容,然后可以操作的数据,可以存储到数据库或者显示在页面上。
word文件在服务器端。
可以考虑用第三方组件
http://officewriter.softartisans.com/officewriter-372.aspx
有中文说 ......
<?php
if($_SERVER['HTTP_REFERER']!=''){
@header("Content-type:image/jpeg");
echo file_get_contents("xlight.jpg");
}
else{
@header("location:ht ......
哪位大哥有没有ASP.NET中利用Cookies实现用户自动登录的代码...谢谢了...越详细越好....
什么意思?自动登录?
mark 貌视是存储cookies 我也对cook比较迷糊 关注下
既然你知道用cookies自己动动大脑多好! ......
Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
''' <summary>
'' ......