Time of Update: 2018-12-05
最近不太忙,有時間上園子裡來瞅瞅,偶爾也發一篇;比較喜歡看文章的評論,沒有評論就沒有交流,沒有交流就沒有進步嘛發現有的評論,不知發表評論的人是否是園子裡的使用者,如果是未註冊使用者,那我也就不說啥了如果是註冊的使用者,那我就要說兩句了即然你註冊了,就用你的馬甲來說話吧,何必整的遮遮掩掩的,是個爺們就大大方方的,有啥不能說的,還非得整塊布遮上怕啥啊,支援也好,反對也好,都是一個交流,何必非要把臉蒙上呢我比較支援實名評論這篇其實本不該發到精華區,但我就是想讓大傢伙來說說這個事,所以選擇發到精華區如h
Time of Update: 2018-12-05
http://www.matrix.org.cn/thread.shtml?topicId=753ba0a5-125e-11dc-b33a-df989147150e&forumId=32Lucene是可以做到的,利用lucene的Filter,具體可以查看lucene的api中的org.apache.lucene.search.CachingWrapperFilter,它可以緩衝上次的搜尋結果,從而實現在結果中的搜尋。測試執行個體:package com.wsjava;import
Time of Update: 2018-12-05
Objective In this article, we will see how to work with LINQ against IIS.Before applying LINQ against IIS sites and application pool, we need to set up the environment. Follow the bellows steps to do this. Step 1Download
Time of Update: 2018-12-05
問題:2000 Advance Server系統,IIS裡預設網站顯示“已停止”,點啟動後過一會兒顯示“服務並未及時響應啟動或控制請求”,重啟重裝IIS也沒有用,怎麼解決啊? 解決:進入管理工具>>服務>>啟動World Wide Web Publishing Service服務。若啟動不了,看看它的依存關係,啟用它所依賴的服務。同時還要注意啟動“Event Log”服務。雖然“World Wide Web Publishing
Time of Update: 2018-12-05
Hello i have tried many methods:1. normal way: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if (Request.QueryString.Get("formid") != null) {
Time of Update: 2018-12-05
這個問題,對我來說,確實一個相當鬱悶的問題,耗費了幾乎2個小時才搞定。先看看RegisterStartupScript 的參數簽名:RegisterStartupScript(control, type, key, script, addScriptTags)RegisterStartupScript(page, type, key, script,
Time of Update: 2018-12-05
讀檔案: C# codestring strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" +"Data Source=" + file + ";" +"Extended Properties='Excel 8.0;HDR=Yes;IMEX=1'";OleDbDataAdapter ExcelDA = new OleDbDataAdapter("SELECT * FROM [Sheet1$]", strConn);DataSet ExcelDs =
Time of Update: 2018-12-05
最近運用Lucene.Net做了個全文檢索索引。開始時用了Lucene.Net 1.9版本,按照關鍵字查詢沒有問題,加入按時間範圍查詢,結果沒有查到資料。取出Lucene語句直接在Luke工具裡查詢,也沒有記錄出來。 我昨天發郵件請教了 雨痕 RainTrail (http://www.rainsts.net/),他回複我了,給了我一小段代碼,一點思想,就開竅了。在此表示萬分感謝! 用Lucene.Net 1.9我目前沒有找到解決辦法,還是無法實現按時間範圍查詢,
Time of Update: 2018-12-05
借首頁一用: 大家都知道部落格地址如xxx.com/xxx是通過URL重寫的方式實現的如xxx.com/user323這個地址,在URL的重寫Regex中可以定義成"[a-z0-9]+",這個能取到user323這樣的地址,但是也能取到
Time of Update: 2018-12-05
“/”應用程式中的伺服器錯誤。拒絕訪問。 說明: 執行當前 Web 請求期間,出現未處理的異常。請檢查堆疊追蹤資訊,以瞭解有關該錯誤以及代碼中導致錯誤的出處的詳細資料。 異常詳細資料: System.UnauthorizedAccessException: 拒絕訪問。 ASP.NET 未被授權訪問所請求的資源。請考慮授予 ASP.NET 請求標識訪問此資源的許可權。ASP.NET 有一個在應用程式沒有類比時使用的基進程標識(通常,在 IIS 5 上為 {MACHINE}\ASPNET,在
Time of Update: 2018-12-05
System.Security.Cryptography.MD5CryptoServiceProvider x = new System.Security.Cryptography.MD5CryptoServiceProvider(); byte[] data = System.Text.Encoding.ASCII.GetBytes(Value); data = x.ComputeHash(data); string ret
Time of Update: 2018-12-05
#table11 table{background:#E2F5BC;border: 1px solid #E2F5BC;}#table11 tr {font: bold 14px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;color: #4f6b72;border-right: 1px solid #E2F5BC;border-bottom: 1px solid #E2F5BC;border-top: 1px solid #E2
Time of Update: 2018-12-05
http://honordream.blog.hexun.com/2858506_d.htmlhttp://www.cnblogs.com/gfwei/archive/2007/09/16/895226.htmlhttp://tech.ddvip.com/2008-09/122086333861811.htmlhttp://developer.51cto.com/art/200908/145381.htmhttp://developer.51cto.com/art/200908/145345.h
Time of Update: 2018-12-05
Platform builder4.2定製WinCE系統 1. 啟動Platform Builder 4.2,開啟[File]菜單, 選擇[New Platform](新平台), 這時會出現[New Platform Wizard](建立嚮導),選擇[Next]。 2. 選擇模擬處理器,預設為[EMULATOR: X86],即x86相容型,利用你的x86處理器模擬 CE處理器,選好後,點擊[Next]。 3.
Time of Update: 2018-12-05
介面的兩點作用
Time of Update: 2018-12-05
最近幾日用到DevExpress的Grid,其中又用到Master-Detail。發現點擊Detail中的行,無法擷取所屬的Master rowHandle,查閱了資料才知道,原來一個屬性就可以了。假設GridControl下有gridview1,gridview2,其中gridview1是master,gridview2是child。那麼語句如下: private void gridView2_GotFocus(object sender, EventArgs e){//MessageBox.
Time of Update: 2018-12-05
/// <summary> /// 抓取遠程圖片 自動識別副檔名 /// </summary> /// <param name="url"></param> /// <returns></returns> private string getRemoteImg(string url) { string rtnString
Time of Update: 2018-12-05
Log4j.properties 配置中文說明# 配置根Loggerlog4j.rootLogger=WARN, A1,A2# 將日誌輸出到控制台log4j.appender.A1=org.apache.log4j.ConsoleAppender# 可以靈活地指定配置模式log4j.appender.A1.layout=org.apache.log4j.PatternLayoutlog4j.appender.A1.layout.ConversionPattern=%-d{yyyy-MM-dd
Time of Update: 2018-12-05
Js只有6中元類型系統分別是:number”、“string”、“boolean” 、 "undefined"
Time of Update: 2018-12-05
在本篇檔案中,我們將討論編程人員在使用ASP.NET開發應用程式時需要注意的10個技巧,這些技巧涉及從預設的控制項、表單名的改變到 StringBuilder類的使用,有助於編程人員能夠儘快地適應.NET環境。 1、在使用Visual Studio .NET時,除直接或非引用的對象外,不要使用預設的名字。.NET帶來的好處之一是所有的原始碼和設定檔都是純文字檔案,能夠使用Notepad或WordPad等任意的文字編輯器進行編輯。如果不願意,我們並非一定要使用Visual Studio