asp实现excel中的数据导入数据库%Response.CodePage=65001%%Response.Charset='UTF-8'%%wenjian=request.Form('select')'获取文件扩展名ext=FileExec(wenjian)'判断文件扩展名if... |
发表时间:2022-05-17 |
点击数:4 |
查看全文 |
NO.1--建立一个XML数据库data.xml?xmlversion='1.0'?recordsrecordnamecaca/nameqq154222225/qqemailroot@3ney.com/email/recordrecordsNO.2--建立对象CreateObje... |
发表时间:2022-05-17 |
点击数:1 |
查看全文 |
Functionselectdo(a,d,b,c)Response.write'selectname=''a''option'd'/option'fori=btocifi10theni='0'iendifResponse.write'option'i'/option'nextRe... |
发表时间:2022-05-06 |
点击数:11 |
查看全文 |
1、root函数格式root()功能描述返回一个路径串变量应用代码'samplestring=c:\intels\jingcaichunfeng\'PublicFunctionroot()root=Request.ServerVariables('Appl_Physical_Pa... |
发表时间:2022-05-06 |
点击数:8 |
查看全文 |
%'Movingtorandomrecord-StevenJones'ExtensionIfNot(记录集名称.bofand记录集名称.eof)Then'resetthecursortothebeginningIf(记录集名称.CursorType0)Then记录集名称.Move... |
发表时间:2022-05-06 |
点击数:3 |
查看全文 |
%'功能:多功能日期格式化函数FunctionFormatDate(sDateTime,sReallyDo)DimsJorkinsJorkin=GetLocale()IfNotIsDate(sDateTime)ThensDateTime=Now()sDateTime=CDate(... |
发表时间:2022-04-26 |
点击数:6 |
查看全文 |
%@language=vbscriptcodepage=936%%bakpath=request('bakpath')delbak=server.mappath(bakpath)setfso=createobject('scripting.filesystemobject')re... |
发表时间:2022-04-26 |
点击数:5 |
查看全文 |
titleasp批量添加修改删除操作示例/title%ifrequest.Form('op')='update'then'表单提交ids=request.Form('ids')ifids''thenresponse.Write'要删除的数据id集合:'ids'br''======... |
发表时间:2022-04-26 |
点击数:7 |
查看全文 |
FunctionDelQuote(strContent)IfIsNull(strContent)ThenExitFunctionDimreSetre=newRegExpre.IgnoreCase=Truere.Global=Truere.Pattern='/[quote/](.[... |
发表时间:2022-04-23 |
点击数:3 |
查看全文 |
1、ASP连接调用SQLServer数据库的代码:Strconn='provider=sqloledb;datasource=数据库服务器地址;uid=数据库用户名;pwd=数据库密码;datebase=数据库名'setconn=server.createobject('adod... |
发表时间:2022-04-13 |
点击数:10 |
查看全文 |