原创 JavaScript中動態加列表框
<html><head><script language="JavaScript" for="window" event="onload">var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"
原创 Web.Config配置節記錄
認識ASP.NET配置文件Web.config 作者: waterswea 出處: 天極網 責任編輯: 方舟 [ 2005-01-19 10:04 ] 數碼精品,購物零風險 同方筆記本新品體驗 “90天”征服女人!
原创 斷點續傳下載功能
public static bool ResponseFile( System.Web.HttpRequest _Request,
原创 Sql中定時發送生日系統
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[p_JobSet]') and OBJECTPROPERTY(id, N'IsProcedure
原创 從下向上彈出窗口(像MSN一樣有新消息)
var NotationMsg='提示信息'; //定義提示信息//添加隱藏層var div=document.createElement('div');div.id='Notation';var str_N='<table id="N
原创 分頁的存儲過程
1.Donet 部分private void PageClick(object sender, System.Web.UI.WebControls.CommandEventArgs e) { CurrentPage = (int)V
原创 .NET中的顯示頁面加載情況
using System.Threading; Response.Write("<div id='mydiv'>"); Response.Write("_"); Response.Write("</div>"); Resp
原创 引用---VB.NET與C#之間的轉換
VB.NET and C# Comparison些C#代碼 與 VB.net 代碼的轉換的工具可以看以下地址:http://authors.aspalliance.com/aldotnet/examples/translate.aspx
原创 Forms窗體驗證
複製現有應用程序的 Global.asax 文件中的以下代碼,將這些角色分配給 Application_AuthenticateRequest 事件處理程序中的驗證用戶: Sub Application_AuthenticateReque
原创 Web下打印辦法
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="TestXml.XML.WebForm1" %><!DOCTYP
原创 用.NET操作IIS代碼
using System;using System.DirectoryServices;using System.Collections;namespace WayControls.IIS{ /// <summary> /// IISWe
原创 FLASH2.0學習教程
Flash教學 → Action應用 AS2.0面向對象編程基礎(一)在flashmx2004專業版中編程 打開你的flash,用Ctrl+N就可以打開New document對話框。flash2004現在不僅可以編輯Flas
原创 檢測打印機是否連接好!
下面的代碼就是去測試你係統中的打印機是否是已經連接好,它能運用於usb及 網絡打印機(並行口打印機還沒有測試> if(strPrinter.ToLower() == PrinterName.ToLower()) retur
原创 轉截 從DataTable導出Excel,並下載,刪除Excel進程。
從DataTable導出Excel,並下載,刪除Excel進程。 頁面上加入一個button即可.源代碼如下:using System;using System.Collections;using System.ComponentMode
原创 自定義流程圖及繪製組織結構圖
using System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Se