大约有 1,187 项符合查询结果。(搜索耗时:0.0059秒)

ASP+AJAX做类似google的搜索提示
主要要文件有: Index.html实现功能,一个文本框,输入内容并实现提示 search.asp查询功能,让文本框输入的内容在数据库中查询,然后返回给客户端 conn.asp数据库连接功能,实现与数据库相连 xmlhttp.jsAJAX核心部分,用来把客户端的数据传给服务端,再把服务端的数据
2009-12-28 22:39:47
详解asp.net控件CheckBoxList的使用
asp:CheckBoxListID=cblJLrunat=serverRepeatDirection=HorizontalWidth=100% asp:ListItem当前记录asp:ListItem asp:ListItem当前页asp:ListItem asp:ListItem全部记录asp:ListItem /asp:CheckBoxList 后台3种方式: 第一种:获得CheckBox的值 C#代
2009-12-28 22:39:46
解析ASP.NET页面数据导出到Excel或Word
privatevoidbtnMIME_Click(objectsender,System.EventArgse) { BindData(); Response.ContentType=application/vnd.ms-Excel; Response.AddHeader(Content-Disposition,inline;filename= +HttpUtility.UrlEncode(下载文件.xls,Encoding.UTF8)); //如
2009-12-28 22:39:46
如何用Asp取得数据库中所有表名和字段名
% set rs=server.CreateObject(adodb.recordset) db= db.mdb '只要直接更改数据库名称就能够看到效果了。 set conn=server.CreateObject(adodb.connection) connstr=Provider=Microsoft.Jet.OLEDB.4.0;Data Source= Server.MapPath(db) conn.open c
2009-12-28 22:39:46
Asp读取文本文件并显示
html head http-equiv=Content-Type content=text/html; charset=gb2312 title/title /head body % LANGUAGE = VBScript % % Const ForReading = 1, ForWriting = 2, ForAppending = 8 Const TristateUseDefault = -2, TristateTrue = -1, TristateFalse
2009-12-28 22:39:45
asp怎样利用InstrRev()获取文件名
InstrRev函数,从字符串的最后一个搜索起,前面字符串。 % Dim strTXT,pos strTXT=www.webjx.com pos=instrRev(strTXT,.) Response.Write pos % 我们搜索的起始是倒序,从com前的一个点。起始的字符的长度,含此点,共十个字符,返回的结果将是9。 通过
2009-12-28 22:39:44
ASP.NET如何改变checkboxlist选中项字体颜色
1.default.aspx设计页面 %@PageLanguage=C#AutoEventWireup=trueCodeFile=Default.aspx.csInherits=_Default% EhtmlPUBLIC-//W3C//DTDXHTML1.0xhtml1-transitional.dtd htmlxmlns=http
2009-12-28 22:39:43
常用ASP自定义函数全集
% '======================================================== '函数导航 'FormatDate(DT,tp) ------------------------------------------日期格式化 'IsInteger(para) ---------------------------检测传递的参数是否为数字型 'ChkrequestDate(Para) ----
2009-12-28 22:39:42
asp常见错误分析和解决办法
错误提示: ADODB.Recordset 错误 '800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal. /index.asp,行15 错误原因:服务器上安装动易组件最新组件,但网站系统是用的4.0,系统没有找到相应的字段。动易组
2009-12-28 22:39:42
解读ASP.NET防止SQL注入攻击常用方法
一、什么是SQL注入式攻击? 所谓SQL注入式攻击,就是攻击者把SQL命令插入到Web表单的输入域或页面请求的查询字符串,欺骗服务器执行恶意的SQL命令。在某些表单中,用户输入的内容直接用来构造(或者影响)动态SQL命令,或作为存储过程的输入参数,这类表单特别
2009-12-28 22:39:42
解读ASP常见错误类型大全
ActiveServerPages,ASP0126(0x80004005)--找不到包含文件 MicrosoftOLEDBProviderforODBCDrivers(0x80040E21)--sql语句出错(数据类型不匹配或表名(字段名)错误或表处于编辑状态,或表不存在于conn打开的数据库中) MicrosoftOLEDBProviderforODBCDrivers(0x800
2009-12-28 22:39:41
详解asp.net读取磁盘文件、删除
protectedvoidReadFile()// 读取文件夹,文件 { stringsavePath=@common; StringBuilderoutstring=newStringBuilder(); stringabsSavePath=Server.MapPath(savePath); string[]Directorys=Directory.GetDirectories(absSavePath+@/+Page.User.Identity.Na
2009-12-28 22:39:41