以前,在頁面上實作縮略圖必須借助第三方元件。現在,有了.NET,就可以很輕松地實作縮略圖。下面就是實作縮略圖的例子。
檢視例子
<a href="http://dotnet.aspx.cc/Exam/Thumbnail.aspx">http://dotnet.aspx.cc/Exam/Thumbnail.aspx</a>
代碼如下:Thumbnail.aspx
複制 儲存
後代碼:Thumbnail.aspx.vb
C#
以前,在頁面上實作縮略圖必須借助第三方元件。現在,有了.NET,就可以很輕松地實作縮略圖。下面就是實作縮略圖的例子。
檢視例子
<a href="http://dotnet.aspx.cc/Exam/Thumbnail.aspx">http://dotnet.aspx.cc/Exam/Thumbnail.aspx</a>
代碼如下:Thumbnail.aspx
複制 儲存
後代碼:Thumbnail.aspx.vb
C#