昨天有個老師找我說他做ASP。NET時那個網站管理工具總是不能用!一開啟就抱錯!“遇到錯誤。請返回上一頁並重試。”他弄了半天也不行,我本來說昨天晚上給他看看,結果給忘了!(^_^記性不太好!) 我今天早上一大早就去了,我看了看,他說以前的目錄可以使用ASP.Net Web 應用程式管理,但是建立的網站都不能使用,我就上網搜了搜,都說是許可權的問題,我使用Administrator登入的可定不會存在這個問題,但是我把檔案夾的完全控制許可權給了everyone,不管用,
因為之前安裝vs.net 2005時沒有安裝MS提供的SQL Server 2005 Express,所以在使用Membership 和Roles疲費了些周折。 筆者是採用SQL Server 2000 資料庫,如果要使用Membership,需要在"Visual Studio 2005 命令提示"視窗中在指定資料庫中,註冊Membership 相關表,例aspnet_regsql -E -S "localhost" -A
<script language="javascript"> function select_deselectAll (chkVal, idVal) { var frm = document.forms[0]; // Loop through all elements<BR> for (i=0; i<frm.length; i++) { // Look for our Header Temp
重裝系統後又裝了ajax 可是用的時候老是提示"錯誤:'sys'未定義",看了看以前做的項目,發現Web.Config裡面少了<httpHandlers>和<httpModules>兩項,後來在<system.web>添加後就ok了。 CodeCode highlighting produced by Actipro CodeHighlighter
在ASP.net開發中如果想要實現圖片找不到時顯示預設圖片的功能,我們有以下幾種方法:1。js可以獲得頁面上每個image標籤的對象。然後再設定它的src屬性就ok了。代碼 <script> function window.onload() { var img = document.getElementById("form1").getElementsByTagName("img") for (var i = 0; i < img.length; i++)
Why Menus?A developer eager to provide his end users a rich and satisfying expreince will typically be confused between providing richer eatures and the crowded user interface that typically results from such attempt. Menus is a well known, yet user