發表文章

Fileupload 設定成無法自行輸入

搜尋我需要的功能的時候發現這個,我沒想到的問題 將FileUpload設定成,一定要使用瀏覽按鈕 不可以自行輸入文字 解答 : 在FileUpload的控制項加個屬性 onkeypress="return false;" 這個應該是,按下任何鍵的時候都會回傳false ,  原解答 : 孤影 你可以在檔案上傳的控制項加個屬性 onkeypress="return false;" 這樣的話,使用者應該就不能用鍵盤在那個輸入框輸入資料了. 解答來自 :  https://social.msdn.microsoft.com/Forums/zh-TW/c9eeb72b-c094-44e5-8730-f434be63b95a/fileupload-control?forum=236

[ASP .NET] 組態錯誤 無法載入檔案或組件 System.Web.Extensions 問題

少安裝AJAX相關組件 這個問題是ASP .NET專案建置後所發生的問題 根據參考網站System.Web.Extensions幾乎都是AJAX套件未安裝導致。 錯誤訊息(error message): 無法載入檔案或組件 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' 或其相依性的其中之一。 系統找不到指定的檔案。 AJAX套件 ‧  下載網址 https://www.microsoft.com/en-us/download/details.aspx?id=883

下列模組是在啟用最佳化或沒有偵錯資訊的情況下建置的

下列模組是在啟用最佳化或沒有偵錯資訊的情況下建置的: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET .............................. 這表示該 DLL 沒有偵錯符號 (沒有 Program Database),沒有偵錯符號的 DLL 無法提供原始碼的位置資訊,所以會出現你看到的訊息。 只要將它用 Debug 模式 Rebuild 一次,再由引用它的程式加入用 Debug 模式生成的 DLL 的參考就行了。 https://social.msdn.microsoft.com/Forums/zh-TW/1291eaba-8cc6-4dff-93a8-d4e4fa161741?forum=230

方法和函式有什麼不同 (Difference between a method and a function )

今天跟同事討論到 Function跟Method 有什麼不同 Kurt Yu 宣告在類別裡面的是方法(Method)  獨立於類別之外的是函式(Function) Functions stand alone and methods are members of a class.  http://kurtyu1209.blogspot.tw/2011/10/function-method.html Vitali Kaspler When a function is a part of a class, it's called a method. http://stackoverflow.com/questions/12258964/difference-between-method-and-function A method is on an object. A function is independent of an object. For Java, there are only methods. For C, there are only functions. For C++ it would depend on whether or not you're in a class.  methods in C++ are called  member  functions. http://stackoverflow.com/questions/155609/difference-between-a-method-and-a-function 好囉大概就這樣子,以我自己的了解做的歸納 廣義來說是一樣的東西  不一樣的就是在有OOP的地方, 在class裡面,跟物件關聯的就叫做method 但是method也是一種function 所以目前我寫的C#裡也是叫method
invoice n.名詞 1. 發票,發貨單 vt.及物動詞 1. 開……的發票;開發票給 2. 將……列入清單 http://tw.dictionary.search.yahoo.com/search?p=invoice&fr2=dict