原创 ASP.NET Controls 狀態轉換備忘

下面的代碼在每次回發時,仍能保持5個Item:private void Page_Load(object sender, System.EventArgs e){ ddl = new DropDownList(); this.PlaceH

原创 Script Callbacks in ASP.NET

  Script Callbacks in ASP.NET  Dino Esposito Download the code for this article: CuttingEdge0408.exe (127KB)I f you'r

原创 How to implement "Find Target"

string file = @"c:/test.txt";string folder = System.IO.Path.GetDirectoryName(file);try{ System.Diagnostics.Process.Star

原创 ASP.NET 應用程序安全設計原則

設計原則 有若干重要原則適用於後面各章中提供的指導說明。您應當學會這些原則並在自己的應用程序設計中予以應用: • 採用最少權限的原則.運行腳本或執行代碼的進程應當儘可能用權限最少的帳戶運行,從而在危及進程安全時限制可能造成的破壞。如果

原创 CS 端口

tcp 5273tcp 7002udp 27010udp 27012udp 27015udp 27016udp 27017udp 27019udp 2

原创 XML 和 Internet 支持特殊字符

XML 和 Internet 支持特殊字符<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 一些字符在 URL 或 XML 文檔中使用

原创 怎樣解決服務器證書吊銷狀態不可用的問題

    當我們在使用HTTPS(SSL)訪問WEB站點時,瀏覽器會從服務器上下載其證書,並根據證書的“CRL分發點”指定的站點下載CRL(證書吊銷列表),檢查當前的證書是否在列表內。    CRL包含有“下一次的更新”的日期,在該日期到來

原创 Windows 2000 Terminal Services

Windows 2000 Terminal Services Terminal services may be provided by Windows 2000 server computers. Terminal services c

原创 ASP.NET頁面是怎樣生成的

using System; namespace WebApp3{ using System.IO; using System.Web; using System.Web.UI; using System.Collections; usin

原创 Base Web Page

/* Author: Clarion Li Date: Oct.22, 2004 (My nephew is two months old) Purpose: check user login client call server'

原创 怎麼用ASPX頁面生成縮略圖

using System;using System.IO;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawin

原创 asp.net頁面刷新事件

基於功能更豐富的基礎類構建您自己的 ASP.NET 頁面 發佈日期: 11/4/2004 | 更新日期: 11/4/2004 Dino Esposito Wintellect 適用範圍: Microsoft ASP.NET Micro

原创 使用Process類運行程序

只有在STA線程上ShellExecute 才能確保工作無誤。在Process的實現中,並沒有考慮到這個問題,所以使用Process類運行ShellExecute可能會出錯。如果你不能保證調用Process.Start的線程的Apartm

原创 Run ASMX Without IIS

Aaron SkonnardDownload the code for this article: ServiceStation0412.exe (165KB) When the Microsoft® .NET Framework fi

原创 cab and signcode

sign.bat cabarc.exe -s 6144 N FormDesigner.CAB FormDesigner/FormDesigner.ocx FormDesigner/Msvcp60.dll FormDesigner/Form