易截截图软件、单文件、免安装、纯绿色、仅160KB

实例:asp生成WORD文档

<Html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>生成Word文档</title>
</head>
<script language="vbscript">
sub builddoc()
    On Error Resume Next
    Dim wApp
   
    Set wApp = CreateObject("Word.Application")
    If Err.number > 0 Then
        Alert "没法保存为Word文件,请正确安装Word97"
    else
    wApp.visible = True
    wApp.Documents.add
   
                     wApp.Selection.TypeParagraph
                     wApp.Selection.Font.Bold = True
                     wApp.Selection.TypeText "九八Joy ASP维护工作意见"
                    
                     wApp.Selection.ParagraphFormat.Alignment = 1
                      rem 居 中
wApp.Selection.TypeParagraph  
                     wApp.Selection.Font.Bold = false                 
      &


相关文档:

asp 树,c# 查找 指定节点

using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
namespace W ......

防止SQL注入完整ASP代码

<%
Dim Fy_Url,Fy_a,Fy_x,Fy_Cs(),Fy_Cl,Fy_Ts,Fy_Zx
'---定义部份   头------
Fy_Cl = 1   '处理方式:1=提示信息,2=转向页面,3=先提示再转向
Fy_Zx = "Error.Asp" '出错时转向的页面
'---定义部份   尾------
On Error Resume Next
Fy_Url=Request.ServerVariables("QUER ......

解决ASP防SQL注入攻击程序问题


现在比较流行的SQL注入工具的工作方式是通过GET和POST来完成具体的注入。我们可以将注入时所用到的一切符号过滤掉。那么我们可以通过简单的判断语句来达到目的。我们先来过滤GET吧。
代码如下:
dim sql_injdata SQL_inj SQL_Get
SQL_injdata = "’|and|exec|insert|select|delete|update|count|*|%|chr|mid|mast ......

对ASP、JSP、PHP、ASP.NET进行实际应用%统计

   各大网络编程语言的10年奋战,各有所长、各领千秋。今日对于我们的网站编程语言:ASP、JSP、PHP、ASP.NET进行实际应用统计:
  ASP:50%
  JSP:10%
  PHP:20%
  ASP.NET:20%
  根据以上统计来做一下讨论。ASP技术如今天可以说已成为过去,但仍占市场的50%,因为当时ASP技术的兴起,对大部分编程 ......

给asp:Button添加背景图片

 今天为了以后的方便,我写了一些常用的用户控件。在写login控件时,有三个按钮,分别是登陆、重置、注册。我想中图片作为他们的背景来显示它们,但问题是asp:Button并没有提供background-image的属性。于是我就在网上搜了一下,有人提出用CssClass属性,方案是在css文件进行background-image的定义,如登陆.loginButt ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号