关于编译器失败,错误代码为 128。的解决方案 2005-10-28 0 · it's a really horrible dream! One morning , afeter i open my computer, i found that all my ASP.net web application could not run again! I searched the problem with google, but nothing is valuable. The following method is at least useful to me, I hope u are also lucky! First o...
链接提示文字的实现 2005-10-28 0 · 在Web中经常碰到链接提示文字效果,就是当鼠标经过URL链接时,立刻弹出一个提示层(DIV),提示链接内容等等相关文字.虽然知道是用隐藏DIV实现的,不过一直不知道怎么弄.昨天搜到一个JS文件,可以轻松搞定.帖出来,收藏一下.
JS文件代码如下(mouse_on_title.js):<!--
//***********默认设置定义.*******...
上传图片并生成缩略图 2005-10-28 0 · Sub upimages()Dim iname As StringIf Not (fileup.PostedFile Is Nothing) ThenDim namestr1 As String = (fileup.PostedFile.FileName)If LCase(fileup.PostedFile.ContentType.ToString()) = "image/pjpeg" Or LCase(fileup.PostedFile.ContentType.ToString()) = "image/jpg&qu...
在网页中添加天气预报 2005-10-28 0 · <iframe width=165 height=250 frameborder=0 scrolling=NO src="http://appnews.qq.com/CGI-bin/news qq search?city=%C9%CF%BA%A3">
</iframe>注意:参数city=XXX 传入城市名称必须为 urlEncode,本例子中“%C9%CF%BA%A3”指上海
Oracle常見問題集(四) 2005-10-28 0 · 21. 用EXISTS替換DISTINCT當提交一個包含一對多表資訊(比如部門表和雇員表)的查詢時,避免在SELECT子句中使用DISTINCT.一般可以考慮用EXIST替換例如:低效:SELECT DISTINCT DEPT_NO,DEPT_NAMEFROM DEPT D,EMP EWHERE D.DEPT_NO = E.DEPT_NO高效:SELECT DEPT_NO,DEPT_NAMEFROM DEPT DWHERE EXISTS ( S...
关于输入框中显示双引号和单引号 2005-10-28 0 · 关于输入框中显示双引号和单引号前台显示解决办法:
方法一:
单引号<input type="text" value="'">
双引号<input type="text" value='"'>
方法二:
单引号<input type="text" value="">
双引号<input type="text&...
右键失效 2005-10-28 0 · <script language="javascript"><!--if (window.Event) document.captureEvents(Event.MOUSEUP); function nocontextmenu() {event.cancelBubble = trueevent.returnValue = false;return false;}function norightclick(e) {if (window.Event) {if (e.which == 2 || e....
图片的导入导出 2005-10-28 0 · <%
response.buffer=true
formsize=request.totalbytes
formdata=request.binaryread(formsize)
bncrlf=chrb(13) & chrb(10)
divider=leftb(formdata,clng(instrb(formdata,bncrlf))-1)
datastart=instrb(formdata,bncrlf & bncrlf)+4
dataend=instrb(datastart+1,formdata,divid...
ASP.NET编程习惯 2005-10-28 0 · 初学编程的朋友往往喜欢收集一些很“奇妙”的编程技巧,然而,技巧的积累往往并没有提高程序质量,反而引导一些编程者一味追求奇和新,忘记了基本编程习惯的培养,不利于团队的合作,可能,这也是中国并不缺少聪明的程序员,但是缺少聪明的开发团队的一个原因吧。在ASP.NET的开发中,可以学习的技 ...
在Remoting Server上取得Remoting Client的IP地址 2005-10-28 0 · In short, the Remoting Server can make use of Sink and Sink Provider to retrieve the IP address of the incoming request. The IP address is available in the Transport Headers of the incoming message. After retrieving the IP address in the Sink, we save the IP address to the Ca...
如何保存一个字符串Cookie,在其它WebForm中 ... 2005-10-28 0 · Cookie中多个变量的设置.
设置Cookie:
HttpCookie xpcookie=new HttpCookie("param");
xpcookie.Values.Add("YYYY",TempYear);
xpcookie.Values.Add("MM",TempMonth);
xpcookie.Values.Add("Selflag",TempFlag);
xpcookie.Values.Add("Selvalue&quo...
[ASP-Last-Code]显示ASP页面的代码 2005-10-28 0 · <%
'*************************************************************
'在支持FSO的情况下,可以显示本站内的所有ASP页面的代码
'适用于代码演示时在效果页面上直接显示该页面的代码而不用再对代码制作专门的页面
'使用方法:ViewSource.ASP?file=要显示的文件名
'如:ViewSource.ASP?file=x.AS...
一个完整的案例 2005-10-28 0 · 我们现在要做一个杂志订阅系统,要用户输入Email,输入两次密码,密码要一样,密码要求安全,所以必须包括(!@#$%^&*+;:),输入用户的电话,最长20位,必须选择信用卡,输入卡号,卡号为15位,程序如下,好简单的,大家看看。<%public sub OnSubmit(source as Object, e as EventArgs)if Page....
虚拟主机如何提高整体性能-application的使用 2005-10-28 0 · 我们经常会发现,当网站的访问量不断的上升的时候,是一件高兴的事情,但是我也发现,访问量的上升也带来了服务器的负担加重,特别是对于虚拟主机的用户,现在网络上的虚拟主机提供商主要采用的cpu上限控制,当服务器程序(网页程序)的cpu占用超过了一个限制以后,后边再来的访问者就会被拒绝访问,这对于一...
IIS属性大全 2005-10-28 0 · IIsWebServiceSetting (WMI)This class corresponds to the IIsWebService IIS Admin object, and contains the read-write properties for the object.Methods
This object has no methods.Properties
The IIsWebServiceSetting (WMI) object has the following properties. AccessExecute
Data ...
一切都因为分页-再谈分页 2005-10-28 0 · 很久没有被分页困惑了,因为一直以来操作的表中数据量都不大,所以很偷懒地使用了纪录集的PageSize与AbsolutePage。这个的弊端就是一次性地把用到用不到的记录全读出来了,记录数一多就很慢。
解决的思路是,找到一种方法,只读出需要的记录~呵呵~
比较常见的是利用了IN 操作符,例如
SELECT TOP ...
我的asp之路 2005-10-28 0 · 回想自己学习ASP大概也有一段时间了吧。从2002年初开始听说有这个东东(偶好菜),到开始接触她已经是2002年的11月份了(时间过的真快),从艰难的走出ASP的第一步(一个简单的数据库程序),到现在的迷茫,中间经历了很多的刊刻和波折。并且一度的断学,或许是因为没有找准一个学习和奋斗的方向吧...
asp.net实现分组全选部分复选框 2005-10-28 0 · 1.声明控件,分别在页面上方一个CheckBox叫cb5,一个CheckBoxList叫shi2:
protected System.Web.UI.WebControls.CheckBox cb5;
protected System.Web.UI.WebControls.CheckBoxList shi2;2.在ASPx的HTML代码的head里键入以下函数
<script>
function chkchk(chkid,spanid){var o=document.getEle...
Asp之Request对象(1) 2005-10-28 0 · Request对象可以从客户端接收信息,取得浏览器上相关信息,这些信息包括通过网址参数传递的信息,HTML表单中用post或get方法的参数和cookie等。1、读取网址的参数信息
在网址中传递参数,方法如下:
http://<网址>/<网页文件>?<参数名>=<参数值>
如果有多个参数,可以使用...
asp 中处理异常 2005-10-28 0 · on error resume next
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from t_student where id=0",my_conn,1,3
rs.addnew
rs("studentID")="98106"
rs("studentName")="gzp"
rs("studentClass")="...
页次:128 /283 20篇/页 首页 上一页 下一页 尾页 合计 5658 篇 Go:第1页 第2页 第3页 第4页 第5页 第6页 第7页 第8页 第9页 第10页 第11页 第12页 第13页 第14页 第15页 第16页 第17页 第18页 第19页 第20页 第21页 第22页 第23页 第24页 第25页 第26页 第27页 第28页 第29页 第30页 第31页 第32页 第33页 第34页 第35页 第36页 第37页 第38页 第39页 第40页 第41页 第42页 第43页 第44页 第45页 第46页 第47页 第48页 第49页 第50页 第51页 第52页 第53页 第54页 第55页 第56页 第57页 第58页 第59页 第60页 第61页 第62页 第63页 第64页 第65页 第66页 第67页 第68页 第69页 第70页 第71页 第72页 第73页 第74页 第75页 第76页 第77页 第78页 第79页 第80页 第81页 第82页 第83页 第84页 第85页 第86页 第87页 第88页 第89页 第90页 第91页 第92页 第93页 第94页 第95页 第96页 第97页 第98页 第99页 第100页 第101页 第102页 第103页 第104页 第105页 第106页 第107页 第108页 第109页 第110页 第111页 第112页 第113页 第114页 第115页 第116页 第117页 第118页 第119页 第120页 第121页 第122页 第123页 第124页 第125页 第126页 第127页 第128页 第129页 第130页 第131页 第132页 第133页 第134页 第135页 第136页 第137页 第138页 第139页 第140页 第141页 第142页 第143页 第144页 第145页 第146页 第147页 第148页 第149页 第150页 第151页 第152页 第153页 第154页 第155页 第156页 第157页 第158页 第159页 第160页 第161页 第162页 第163页 第164页 第165页 第166页 第167页 第168页 第169页 第170页 第171页 第172页 第173页 第174页 第175页 第176页 第177页 第178页 第179页 第180页 第181页 第182页 第183页 第184页 第185页 第186页 第187页 第188页 第189页 第190页 第191页 第192页 第193页 第194页 第195页 第196页 第197页 第198页 第199页 第200页 第201页 第202页 第203页 第204页 第205页 第206页 第207页 第208页 第209页 第210页 第211页 第212页 第213页 第214页 第215页 第216页 第217页 第218页 第219页 第220页 第221页 第222页 第223页 第224页 第225页 第226页 第227页 第228页 第229页 第230页 第231页 第232页 第233页 第234页 第235页 第236页 第237页 第238页 第239页 第240页 第241页 第242页 第243页 第244页 第245页 第246页 第247页 第248页 第249页 第250页 第251页 第252页 第253页 第254页 第255页 第256页 第257页 第258页 第259页 第260页 第261页 第262页 第263页 第264页 第265页 第266页 第267页 第268页 第269页 第270页 第271页 第272页 第273页 第274页 第275页 第276页 第277页 第278页 第279页 第280页 第281页 第282页 第283页