Time of Update: 2018-12-06
http://tech.it168.com/a2011/0503/1185/000001185510_1.shtml 【IT168 評論】如果你已經有較多的物件導向開發經驗,跳過以下這兩步: 第一步 掌握一門.NET物件導向語言,C#或VB.NET。 我強烈反對在沒系統學過一門物件導向(OO)語言的前提下去學ASP.NET。 ASP.NET是一個全物件導向的技術,不懂OO,那絕對學不下去! 第二步 對.NET Framework類庫有一定的瞭解 可以通過開發Windows
Time of Update: 2018-12-06
剛進公司實習學會第一個知識就是:產生HTML頁面。這個很常用。因為大多頁面都要調用資料庫,如果每次使用者請求頁面都要調用資料庫,當訪問人數很多時,後果可想而知。一個比較好的方法,就是將一些動態網頁面的執行結果產生靜態HTML頁面,讓訪問者每次訪問這些靜態頁面。管理員只需過一定時間更新就行。 下面是我用的一種產生基本靜態頁面的方法,不知道怎樣,請高人多多指點。 try { string filename = @"產生頁面存放的路徑";
Time of Update: 2018-12-06
Time of Update: 2018-12-06
今天學著寫了一個簡單的郵件發送程式,是用IIS的SMTP伺服器發送的(下一步學慣用Jmail組件發送),經測試後,成功向自己的郵箱發送了一封郵件。感覺挺有意思,希望自己以後能寫出類似於Foxmail的軟體,嗯,加油吧~~~ 1、安裝SMTP服務 安裝此組件:'控制台'->'添加或刪除程式'->'添加或刪除Windows組件'->'應用程式伺服器'->'Internet資訊服務(IIS)'->SMTP Service
Time of Update: 2018-12-06
1、不同的控制項使用的屬性不同: document.getElementById("tbTest").value="aaaaa"; //文字框:tbTest document.getElementById("lbTest").innerHTML="bbbbb"; //標籤:lbTest 2、將這些指派陳述式寫成function,並在body的onload事件中調用 例如: <script
Time of Update: 2018-12-06
文章目錄 Technical ArchitectureProviding Data Access with ADO.NET and ADODBBinding to the DataControl VersionsSecurity and Trusted LevelOffice Licensing Considerations Implementing Office Web Component Pivot Tables with
Time of Update: 2018-12-06
實現功能:單擊按鈕,將從資料庫擷取的資料返回給文字框1(重新整理文字框1),而文字框2不重新整理 頁面1:test.html<!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" >
Time of Update: 2018-12-06
前台代碼:(主要是TextBox控制項和CSS)<!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 runat="server"> <title>&
Time of Update: 2018-12-06
如果你已經有較多的物件導向開發經驗,跳過以下這兩步:第一步 掌握一門.NET物件導向語言,C#或VB.NET 我強烈反對在沒系統學過一門物件導向(OO)語言的前提下去學ASP.NET。 ASP.NET是一個全物件導向的技術,不懂OO,那絕對學不下去!第二步 對.NET Framework類庫有一定的瞭解 可以通過開發Windows Form應用程式來學習NET Framework。ASP.NET是建構在.NET Framework之上的技術,你對.NET
Time of Update: 2018-12-06
一、準備工作1、開發平台:Windows server 2003+Visual Studio 2005+SQL Server 20052、下載ASP.NET 2.0 AJAX Extensions 1.0一:http://www.asp.net/ajax/downloads/archive/二:http://www.newhua.com/soft/55097.htm3、下載ASP.NET AJAX Control Toolkit (注意版本為:1.0.10301.0,如果是高版本的,我在VS20
Time of Update: 2018-12-06
1、滑鼠滑過時,行變色效果: 在Gridview的RowDataBound事件中加入以下代碼: //判定當前的行是否屬於datarow類型的行 if (e.Row.RowType == DataControlRowType.DataRow) { //當滑鼠移至上方在資料行上時,儲存原來的行背景色並設定新的背景色 e.Row.Attributes.Add("onmouseover",
Time of Update: 2018-12-06
ASP.NET AJAX的體繫結構是建產在ASP.NET 2.0基礎之上的,是對ASP.NET 2.0功能的一種擴充。這種擴充是在用戶端和伺服器兩方面進行的。ASP.NET AJAX就是微軟使用一個豐富的用戶端指令碼庫和一個重要的伺服器端功能層增強了ASP.NET的功能。因此,認識ASP.NET AJAX應從用戶端和伺服器端兩方面去學習。
Time of Update: 2018-12-06
最近這段時間接觸了 微軟提供的asp.net ajax架構 如果我們要發布一個ajax網站 總不會要伺服器供應商也下載個asp.net ajax 安裝到伺服器上吧. 其實asp.net ajax網站進行發布只需將C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX
Time of Update: 2018-12-06
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Web.Mvc;namespace Rhythmk.Sercurity.Attribute{ [AttributeUsage(AttributeTargets.Class|AttributeTargets.Method)] public
Time of Update: 2018-12-06
1.原有功能:a.在上傳圖片時,fckeditor2.6.6和fckeditor2.3 for .net 可以根據圖片[Image],動畫[Flash],連結[Link]等,在預設的userfiles下建立相應的檔案夾,片
Time of Update: 2018-12-06
using System;using System.Collections.Generic;using System.IO.Compression;using System.Linq;using System.Web;using System.Web.Mvc;using System.Web.UI;namespace MvcAppCache.Controllers{ /* * * FireFox:可以在瀏覽器中輸入 about:cache?device=disk
Time of Update: 2018-12-06
文章目錄 @Implements@Register@Assembly@PreviousPageType@MasterType @Implements@Implements指令允許ASP.NET頁面實現特定的.NET Framework介面。這個指令只支援一個Interface屬性。Interface屬性直接指定了.NET
Time of Update: 2018-12-06
Dim strScript As String = "<Script Language='VBScript'>" &vbCrLfstrScript &= "opener.parent.document.location.href=""" &"../Individual/UserJobs.aspx?EntityTableID=" &Request("EntityTableID") &"&ListID="
Time of Update: 2018-12-06
主要用到System.Drawing
Time of Update: 2018-12-06
在上一篇文章中講到了關於C#上傳圖片添加文字浮水印的方法,這個章節中則是添加半透明的圖片浮水印的方法。請參:http://hi.baidu.com/1987raymond/blog/item/017a6a4ee9a8ca01b2de0543.html下面是ImageWatermarkPainter類的實現: using System;using System.Text;using System.IO;using System.Drawing;using