asp

ASP连接SQLite数据库

aspASP连接SQLite数据库

要用ASP来操作SQLite数据库,先在服务器上安装SQLite的ODBC驱动程序,可到这个站点上下载安装: http://www.ch-werner.de/sqliteodbc/ 下边是一个SQLite数据库结构: Create TABLE admin(username text,age int...

asp / 2019-06-01

asp Deltextfile删除指定文件夹下的指定文件实例教程

aspasp Deltextfile删除指定文件夹下的指定文件实例

文件夹pic_1下有1.xls和1.xls 清空文件夹: <% dim path Sub EmptyFolder(filespec)  Dim fso  Set fso = CreateObject("Scripting.FileSystemObject")  fso.DeleteFolder(filespec)&nbs...

asp / 2019-05-30

asp遍历数据库中的表

aspasp遍历数据库中的表

<!--#include file="inc/conn.asp"--> <% Set rstSchema = conn.OpenSchema(20) Do Until rstSchema.EOF '遍历数据库表 response.Write("--") if rstSchema("TABLE_TYPE")="TABLE" then  respon...

asp / 2019-05-28

asp + ajax 异步处理数据

aspasp + ajax 异步处理数据

功能背景:当用户输入用户名时,判断数据表中用户名是否已经存在。 技术手段:ajax异步请求。 其实,光说ajax 大家多少都对他有了解,但是一般都是将它运用在html中,今天我分享一下在asp中如何更好的运用ajax 在...

asp / 2019-05-26

ASP+AJAX做类似google的搜索提示

aspASP+AJAX做类似google的搜索提示

主要要文件有: Index.html 实现功能,一个文本框,输入内容并实现提示 search.asp 查询功能,让文本框输入的内容在数据库中查询,然后返回给客户端 conn.asp 数据库连接功能,实现与数据库相连 xmlhttp.js AJAX 核心部...

asp / 2018-06-02

asp生成excel

aspasp生成excel

Dim xlWorkSheet Dim xlApplication Set xlApplication = Server.CreateObject("Excel.Application") xlApplication.Visible = False xlApplication.DisplayAlerts=False xlApplication.Workbooks.Add Set xlW...

asp / 2018-06-02

asp长文章分页

aspasp长文章分页

dim sContent,tempContent,pgCount,pageStr,currentPage currentPage=Request.QueryString("page") if currentPage="" Then  currentPage=1 Else currentPage=CLng(currentPage) end if pgCount...

asp / 2018-06-02

asp随机密码

aspasp随机密码

Function getCode(iCount)      Dim arrChar      Dim j,k,strCode      arrChar = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ"      k=Len(...

asp / 2018-06-02

asp动态生成xml

aspasp动态生成xml

<!--#include file="../inc/conn.asp" --> <% dim rs,sql,id,title,url,strTemp id=Request.QueryString("id") title=request.Form("title") url=request.Form("url") if id<>"" then sq...

asp / 2018-06-02

asp购物车源码

aspasp购物车源码

cart.asp <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htm...

asp / 2018-06-02

共237条共24页10条/页«678910»
意见反馈