ASP程序跳级运行
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
dim ID
dim rs
dim sql
dim Conn
ConnStr="driver={sql server};server=127.0.0.1;database=tire;uid=sa;pwd=111111"
set Conn=server.createobject("adodb.connection")
Conn.Open ConnStr
ID=request("产品编号")
Set rs=server.CreateObject("ADODB.recordset")
sql="select * from chanpin3 where 产品编号='"& ID &"'"
rs.Open sql,Conn,1,1
if rs.EOF or rs.BOF then
Response.Write(" <hr>数据库中暂无资料!")
Else
do while not rs.EOF or rs.BOF
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>修改信息 </title>
<style type="text/css">
<!--
.STYLE 7{font-size:12px; font-family:"宋体";}
.STYLE 8{font: bolder "宋体"; font-size:12px; color:#990000;}
.STYLE 9{font-size:12px; color:#990000; font-weight:bold;}
.STYLE 10{font-size:12px; color:#FFFFFF; font-weight:bold;}
-->
</style>
</head>
<body>
<div align="center" class="STYLE 7">
<p align="left"> <f
相关问答:
不是直接打开,而是读取内容,然后可以操作的数据,可以存储到数据库或者显示在页面上。
word文件在服务器端。
可以考虑用第三方组件
http://officewriter.softartisans.com/officewriter-372.aspx
有中文说 ......
我想打印数据库里面读取出来的多条数据内容,实现批量打印
先导入excel或者word,然后在打印
或者购买web打印控件
使用acitvex打印。如果不需要选择属性,设置属性,就不需要商业的了。
<style media= ......
各位大虾,我做了一个ASP得通讯录,但是除了查询功能好像其他都有问题,其中添加功能如下,能指导一下我哪里出错了吗?
<html>
<head>
<title>无标题文档</title>
</head>
<b ......