用過PHP的朋友都知道,PHP中變數的使用靈活方便,特別是能在字串中方便實現變數名-值變換,使得整個PHP代碼更顯簡潔優美。比如一條更新資料庫的SQL語句只需寫成:"update users set password='$password', group=$group, name='$username' where account='$account'",其中的$password、$group、$username、$account便會被實際的變數值替換,而在ASP中要實現相同的功能必須寫成:
1 using System; 2 using System.Data; 3 using System.Configuration; 4 using System.Collections; 5 using System.Web; 6 using System.Web.Security; 7 using System.Web.UI; 8 using System.Web.UI.WebControls; 9 using System.Web.UI.WebControls.WebParts;10 us
ASP是英文Application Service Provider的縮寫,ASP的中文全稱為“應用服務提供者”,是指配置、租賃和管理應用軟體解決方案,採用應用軟體託管方式為商業使用者提供統一的資訊化應用服務。在這種模式下,客戶不再象傳統模式那樣花費大量投資用於硬體、軟體、人員,而只需要支出一定的租賃服務費用便可以享受到相應的硬體、軟體和維護服務,享有軟體使用權和不斷升級,這是網路應用後最具效益的營運模式。
Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server
Asp基礎教程(上) 一、Asp基本知識 1.Asp是Active Server Pages的簡稱,是解釋型的指令碼語言環境;2.Asp的運行需要Windows作業系統,9x下需要安裝PWS;而NT/2000/XP則需要安裝Internet Information Server(簡稱IIS);3.Asp和JSP的指令碼標籤是“<%%>”,PHP的則可以設定為多種;4.Asp的注釋符號是“'”;5.使用附加組件,可以擴充Asp的功能。例子:HelloWorld_1.asp<%=