ASP程式方法:通過 Microsoft Internet Information Server (IIS),您可以在特定 Active Server Pages (ASP) 頁的最開始位置,使用以下指令碼代碼方便地標記高度易變頁或敏感頁: <%Response.CacheControl = "no-cache"Response.AddHeader "Pragma", "no-cache"Response.Expires =
link:http://www.paolocorti.net/public/dokuwiki/doku.php?id=mapserver:tutorialThis tutorial will try to guide you step by step in implementing a GIS (Geographic Information Systems) web solution, based on Open Source software (MapServer and PostGIS),
MapServer是個開源GIS,這裡不用介紹了。網上有基於asp.net1.1 C#開發樣本(Thinking in GIS http://www.paolocorti.net)下載的例子有個小問題:缺少一個字型檔,解決方案是到作業系統裡找到這個字型檔,複製到字型目錄即可。我曾努力,花了一個多小時,解決了所有的編譯問題,但還是不能直接轉換成asp.net2,所以重新建立了一個asp.net2網站,然後根據教程,參考樣本進行操作。主要步驟如下:(1)
using System.Drawing;------------------------------調用: MakeThumbnail("C:\\sdf.JPG", "C:\\sdfsss.JPG", 300, 40, "W"); Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> //*****************************
asp.net 最簡單的自訂控制項ASP.NET使用者控制項一般適用於產生相對靜態內容,所以沒有builtin的事件支援。本文討論使用者控制項返回事件的方法。 假定使用者控制項(UserControl.ascx)中包含按鈕控制項AButton,希望實現按AButton按鈕時,包含該使用者控制項的頁面可以接收到事件。為此,小雞射手在使用者控制項和頁面的代碼中分別作了處理。 UserControl.ascx.cs中的處理: 1.