繁体中文
设为首页
加入收藏
当前位置:ASP技术首页 >> ASP技巧 >>
ASP技巧
  • [2004-10-01] 一个不太让人讨厌的自动弹出窗口
        一个不太让人讨厌的自动弹出窗口 (原文:http://www.siteexperts.com/tips/backend/ts15/page1.asp) 自动弹出窗口是一个让人讨厌的事情,为什么我们用它来显示我们的调查表呢? 用弹出窗口来显示调查表,被认为...
  • [2004-10-01] 使用ASP和Word进行服务器端拼写检查
        本文讨论的问题与下列方面相关: Microsoft Word 97 for Windows Microsoft Visual InterDev, version 6.0 Microsoft Internet Information Server version 4.0 概要 本文描述了如何使用Microsoft Wor...
  • [2004-10-01] 使用Server.scripttimeout来减少ASP意外错误而使务器瘫痪
        我们在执行一些程序时, 比如论坛的递归, ASP程序常常会在意外之外执行出错. 此类意外发生率极少, 但一旦发生, 则会使ASP代码产生不计其数的html或占用大量的服务器资源, 从而导致服务器效率下降甚 至瘫痪. 此...
  • [2004-10-01] 生成一个不重复的随即数字
        写这个文章绝对是偶然的偶然的机会,前年等一回的 元旦节,和 老婆上街 溜达,猛然想起买上一张福利彩票,结果 屁都没有中上,开春第一天,就写了个预测彩票中奖的程序,这其中的一个很关键的算法就是如何生成一个...
  • [2004-10-01] 如何对身份证的籍贯进行验证
        我们在进行各种编程设计的时候,经常会遇到需要人员登记,但是对 人员登记的信息进行验证的手段却又 非常的没有效果,因为我们很难判断一个人他的信息是否是真实的!我们只是尽可能的去查看一下他的信息。 下面我...
  • [2004-10-01] 一个把数字转英文的实用程序
        最近做项目的合同部分时用到需要能把数字转英文的程序,找过很多网站都没用,只能安下心来自己做,程序作的不太精简,但功能可以实现,也许同僚们会用得着。(vbscript) function zr4(y)'准备数据 dim z(10) z(1)...
  • [2004-10-01] StripNonNumeric函数源程序
        <% Function StripNonNumeric(strInput) Dim iPos, sNew, iTemp strInput = Trim(strInput) If strInput <> "" Then iPos = 1 iTemp = Len(strInput) While iTemp >= iPos If IsNumeric(M...
  • [2004-10-01] 动态产生变量
        The purpose of this application is to make it easier to caputre data from forms. I know when I create forms I hate typing in all the request.form information in my code, so I decided to write a w...
  • [2004-10-01] 在ASP中改善动态分页的性能
        From computerworld 在ASP中改善动态分页的性能 人民银行济南分行清算中心 张立锋 山东省水利科学研究院 张 禾  -------------------------------------------------------------------------------- 概 述...
  • [2004-10-01] 在asp中调用jsp
          Windows98,Windows NT 4.0,Windows 2000 professional,windows 2000 server等   jdk1_2_2-001-win.exe   tomcat.zip(3.1) 一、软件下载   JDK     http://java.sun.com/products/jdk/1.2...
  • [2004-10-01] 浏览器语种检测,适合于多语言版本的站点
        如果您的网站面向世界各地的冲浪者或者对外开展商贸活动,检测来访者的浏览器语言类型就非常现实了。这里提供 的脚本可以检测流露;浏览器的语言类型,一般中文可以识别为“ZH”,英文版本的可以识别为“EN”,然...
  • [2004-10-01] 在你的ASP中使用类(class)
        介绍 作者:http://www.aspcn.com 飞刀 在不入前的一天,当我为了解决一个语法问题来翻阅VBscript文档时,偶然间发现在了下面的一句话: Class Statement Declares the name of a class, as well as a defin...
  • [2004-10-01] 通过ASP在Flash中妙用Cookie
        Written by: Günter Hoffellner Translated by: Bernhard Spuida First published: 9/8/2000 Setting or reading cookies in Flash may be necessary for example to extend the personalization of a web s...
  • [2004-10-01] 用两种不同的方法来求实现数字字符串的最大,最小和平均值
        用两种不同的方法来求实现数字字符串的最大,最小和平均值 <%@ LANGUAGE = "VBScript" ENABLESESSIONSTATE = False %> <% '1. Selecting the numbers from a string: myString = "2, 4,...
  • [2004-10-01] 获得上一个月几月
        <html><body> <% mnth = MonthName(Month(Now)) M = Month(Now) If M = 1 Then M2 = M + 11 Else M2 = M - 1 mnthprev = MonthName(M2) Response.Write"This month is: "&mnth&...
  • [2004-10-01] 转换字符串单词的第一个字母为大写
        Code Title: Proper Case Description: You know how to use UCase and LCase, now here's Pcase! Ucase converts a string to all UPPERCASE, and of course Lcase does the opposite, but this will convert ...
  • [2004-10-01] 把长的数字用逗号隔开显示
        Code Title: Proper Number Description: If you have a long number to display, then why not make it split the number up correctly with a comma? For example, the number 12345678 looks odd, right? O...
  • [2004-10-01] 多域名一网站时如果返回最原来的域名
        <% host=lcase(request.servervariables("HTTP_HOST")) SELECT CASE host ' Just change the CASE to your domains CASE "www.designbliss.com.au" ' Below is the redirect command res...
  • [2004-10-01] 检测浏览器是否支持有Flash2.0以上或有Flash插件
        <html> <head> <% Set obJS = Server.CreateObject("MSWC.BrowserType") If obJS.javascript = TRUE Then 'Look for a version of Internet Explorer that supports ActiveX (i.e., on...
  • [2004-10-01] 用HTML META标签和ASP来作定时迟时信息
        Using ASP and HTML Meta TAGS To Make A Dynamic Delay Message This is a little trick to display a timed message to the user after doing some sort of task. By mixing some creative ASP with a simpl...
  • 总数:946    首页 上一页 下一页 尾页 页: 47/48