<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="HEAD1"><title>
塗鴉牆
- Jun 02 Wed 2010 11:09
facebook 塗鴉牆 API
- Apr 19 Mon 2010 13:38
[轉]VB.NET 縮圖語法(圖片處理)
http://tw.myblog.yahoo.com/chiu-px/article?mid=8&next=7&l=f&fid=6
Function ASP_IMAGE(ByVal durl As String, ByVal surl As String, ByVal w As Integer, ByVal h As Integer)
'ASP.NET 縮圖功能
Dim image As System.Drawing.Image
'Dim anewimage As System.Drawing.Bitmap
- Apr 09 Fri 2010 10:53
撰寫一個Web Service
MIS2000 Lab. 的 ASP.NET專題實務/教學與分享
http://www.dotblogs.com.tw/mis2000lab/Tags/Web%20Service/default.aspx
使用 ASP.NET Web 服務
- Apr 07 Wed 2010 10:29
LOAD 進度
<script>
// LOAD 進度
function showLoadingBar()
{var i,j=0;
bar01.style.pixelTop=bar02.style.pixelTop=document.body.clientHeight/2-14;
- Apr 01 Thu 2010 17:57
Request.Pash去讀取網址後的參數
網址:http://localhost/minwt/doc/detail.aspx/123?id=1#top | |
語 法 | 結 果 |
Request.ApplicationPath | / |
Request.PhysicalPath | D:\Projects\Solution\web\minwt\doc\detail.aspx |
System.IO.Path.GetDirectoryName (Request.PhysicalPath) |
D:\Projects\Solution\web\minwt\doc |
Request.PhysicalApplicationPath | D:\Projects\Solution\web\ |
System.IO.Path.GetFileName (Request.PhysicalPath) |
detail.aspx |
Request.CurrentExecutionFilePath | /minwt/doc/detail.aspx |
Request.FilePath | /minwt/doc/detail.aspx |
Request.Path | /minwt/doc/detail.aspx/123 |
Request.RawUrl | /minwt/doc/detail.aspx/123?id=1 |
Request.Url.AbsolutePath | /minwt/doc/detail.aspx/123 |
Request.Url.AbsoluteUri | http://localhost/minwt/doc/detail.aspx/123?id=1 |
Request.Url.Scheme | http |
Request.Url.Host | localhost |
Request.Url.Port | 1897 |
Request.Url.Authority | localhost:1897 |
Request.Url.LocalPath | /minwt/doc/detail.aspx/123 |
Request.PathInfo | /123 |
Request.Url.PathAndQuery | /minwt/doc/detail.aspx/123?id=1 |
Request.Url.Query | ?id=1 |
Request.Url.Segments | / minwt/ doc/ |
- Apr 01 Thu 2010 17:45
[.NET]強制下載檔案(jpg、wmv、doc…)
瀏覽器則會自動判斷檔案格式,當格式非一般的檔案型格式時,瀏覽器則會直接開啟在瀏覽器中,如jpg、wmv、pdf、doc….等,
因此若要讓這些格式可強制下載時,則須要動點小手腳,而下列的Code不但可直接強制下載外,還支援遠端的路徑,如http://photo.minwt.com/……jpg,相當的簡易好用。
protected void Page_Load(object sender, EventArgs e)
{
string f = Request.QueryString["f"];
- Mar 30 Tue 2010 00:14
[情報] 有關msn登入不能的解決辦法之一
標題: [情報] 有關msn登入不能的解決辦法之一
時間: Wed Nov 4 05:57:26 2009
這個是解決msn無法登入,
- Mar 29 Mon 2010 14:01
驗證DropDownList
<asp:CompareValidator ID="CompareValidator1" runat="server" Display="Dynamic" Type="Integer" ValueToCompare="0"
ControlToValidate="DropDownList2" Operator="NotEqual" ErrorMessage="請選擇發布課室" ></asp:CompareValidator>
- Mar 19 Fri 2010 13:52
安裝 FCKeditor.Net 2.6.3
官方網站 http://ckeditor.com
官方下載網址 http://ckeditor.com/download
使用FCKeditor作為ASP.NET控制項必須下載2個檔案
FCKeditor 樣版
Our previous editor solution, stable and full featured
FCKeditor 2.6.6, released on 15 February 2010
FCKeditor 元件
FCKeditor.Net: ASP.Net Control to easily integrate FCKeditor on ASP.NET pages
FCKeditor.Net 2.6.3, released on 26 July 2008
- Mar 17 Wed 2010 09:27
限制 web.config 的繼承
一個 web.config 繼承的問題
由於網站中的子應用程式(虛擬目錄)中的 web.config 會繼承根目錄的 web.config
造成兩個 web.confg 的設定衝突 ... 等狀況,ASP.NET 1.1 與 2.0 混合開發時!
間接使得子應用程式的系統發生錯誤無法執行。
告子應用程式中的 web.config "完全不繼承" 根目錄的 web.config
- Mar 17 Wed 2010 01:48
GridView 編輯模式設定textbox寬度
<asp:BoundField DataField="true_name" HeaderText="姓名" >
<ControlStyle Width="100px" />
<ItemStyle Width="100px" />
</asp:BoundField>
- Mar 15 Mon 2010 10:02
repeater的FindControl
repeater裡面置入buttom和HtmlInputCheckBox,
點選buttom後將HtmlInputCheckBox有選取的項目做動作
<ItemTemplate>
<input id="checkbox" type="checkbox" name="checkbox" value='<%#Eval("ID") %>' runat="server"/>
- Mar 12 Fri 2010 16:39
ASP .NET 動態變換CSS
第一種方法
需先在<head></head>加入
<link id="MyStyleSheet" rel="stylesheet" type="text/css" runat="server" />
<head>
<link id="MyStyleSheet" rel="stylesheet" type="text/css" runat="server" />
- Mar 12 Fri 2010 11:20
SQL 2005 維護計畫 指定的'@subsystem'無效
安裝windows small bussiness 2003 R2 ,
因為裡面含SQL 2005也將它安裝進去,
目前在設定維護計畫卻失敗,
失敗的訊息是
- Mar 10 Wed 2010 09:48
[轉]IIS同一時間有太多人存取網站的問題