易截截图软件、单文件、免安装、纯绿色、仅160KB

ASP 文件上传后将文件信息插入数据库的问题

能上传但不能插入数据库信息。ASP文件代码如下:

<%
  Response.Buffer = True
  Server.ScriptTimeOut=9999999
  On Error Resume Next
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="zh-cn" />
<meta content="all" name="robots" />
<meta name="author" content="木目,Woodeye" />
<meta name="description" content="木目ASP文件上传工具" />
<meta name="keywords" content="木目,ASP,Upload,文件上传" />
<style type="text/css">
<!--
body,input {font-size:12px;}
-->
</style>
<title>木目ASP文件上传工具 </title>
</head>
<body id="body">
<%
  ExtName = "jpg,gif,png,txt,rar,zip,doc"    '允许扩展名
  SavePath = "upload"          '保存路径
  If Right(SavePath,1) <>"/" Then SavePath=


相关问答:

asp事务问题

<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=") ......

一段asp转php

<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......

我是学习asp好呢 还是 asp.net

rt
一般来说还是学习后者好  但是主要看你的就业方向是哪个

哥哥,
都啥年代了
发展历程:asp -> asp.net -> asp.net ajax -> asp.net mvc ->wpf
你还学asp,那是2000年以前的技术。 ......

asp怎样连接有工作组权限设置的access数据库

我们用asp+access写一个应用程序,希望提高数据库的安全性,所以对access数据库进行了用户级安全设置(即启用了工作组权限)。这样一来,导致原来的连接程序无效了。下面是原来的未设置工作组权限的连接代码:
......

假前最后一帖ASP调用VB组件

我用VB按MVC的构架写组件供ASP调用
BLL层
VB code:

Private Dal As New moonPotato_DAL
Public Sub inSertUser(Model As moonPotato_Model)
Dal.InSertCls (Model)
End Sub

ASP中调用
VB c ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号