Time of Update: 2018-12-03
class CustomThreadPool { //僅僅只是計數 public static int count; public static Thread QueueUserWorkItem(Action<object> action) { return QueueUserWorkItem(action, null);
Time of Update: 2018-12-03
關於Repeater和DataList控制項分頁,我習慣用二種方法實現,其一就是利用PagedDataSource類來實現,相對簡單一些,方法一如下: public void ListBind() { myConn=new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Server.MapPath("/data/data.mdb")); OleDbDataAdapter myComm=new
Time of Update: 2018-12-03
<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title> </head><body> <form id="form1" runat="server"> <asp:TextBox ID="txt" runat="server"> </asp:TextBox>
Time of Update: 2018-12-03
原文地址: http://yangwencan2002.iteye.com/blog/284249RMI 問題 1 背景: 用 ./shutdown.sh 關閉 rmi 伺服器的 tomcat ,然後 ./startup.sh 啟動,用戶端串連總是會導致如下錯誤: org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is
Time of Update: 2018-12-03
Asp.net提供了三個功能強大的清單控制項:DataGrid、DataList和Repeater控制項,但其中只有DataGrid控制項提供分頁功能。相對DataGrid,DataList和Repeater控制項具有更高的樣式自訂性,所以很多時候我們喜歡使用DataList或Repeater控制項來顯示資料。PagedDataSource 類封裝 DataGrid 控制項的屬性,這些屬性使 DataGrid 可以執行分頁。PagedDataSource
Time of Update: 2018-12-03
原帖地址:應用程式設定檔問題設定檔如下:<?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <section name="RinexHeader" type="System.Configuration.NameValueSectionHandler"/> </configSections> <RinexHeader>
Time of Update: 2018-12-03
ResultHandler /// <summary> /// Summary description for ResultHandler /// </summary> public class ResultHandler :System.Web.UI.Page, IHttpHandler { bool IHttpHandler.IsReusable { get
Time of Update: 2018-12-03
<html><head><mce:script type="text/javascript"><!--/* *函數功能:從href獲得參數 *sHref: http://www.yesky.com/arg.htm?arg1=d&arg2=re *sArgName:arg1, arg2 *return: the value of arg. d, re */ function GetArgsFromHref(sHref,
Time of Update: 2018-12-03
public class IHttpAsyncHandlerDEMO : IHttpHandler, IHttpAsyncHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; context.Response.Write("Hello World");
Time of Update: 2018-12-03
public class IHttpAsyncHandlerDEMO : IHttpHandler, IHttpAsyncHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; context.Response.Write("Hello World");
Time of Update: 2018-12-03
啟動vsftp 遇到此錯誤,看網上說要修改什麼 vsftp.conf xinetd.d ....****************************************************vsftpd: not configured for standalone, must be started from
Time of Update: 2018-12-03
ntellij IDEA 發布了 10.0.2 更新版本。:http://www.jetbrains.com/idea/download/index.html http://download-ln.jetbrains.com/idea/ideaIU-10.0.2.exe IntelliJ
Time of Update: 2018-12-03
IIS 7.0產品組的 Mike Volodarsky 最近新開了一個部落格,在上面發了一堆跟IIS 7.0相關的精彩文章。Mike負責 IIS7 中 “整合式管線(integrated pipeline)” 和 “伺服器核心擴充性(server core extensibility)” 2個方面的東西。此外,IIS7現在允許你編寫 ASP.NET/.NET HttpModules模板來參與任何web請求。 譬如,你可以為ASP,PHP,Java請求實現表單認證和基於角色的安全。 跟目前的
Time of Update: 2018-12-03
【原文地址】 Podcasts and Prototyping 【原文發表日期】 Sunday, November 19, 2006 11:37 PM Ron Jacobs 最近發布了他的 ARCast.net 節目裡採訪我的播客(podcast),該節目是個面向架構師的免費podcast系列。在這一期的podcast裡,我們討論了幾個大家也許會發現比較有趣的主題: .NET,特別是ASP.NET後面的一些曆史 原型開發(prototyping)的重要性以及如何不把它搞砸了
Time of Update: 2018-12-03
【原文地址】"Atlas" 1.0 Naming and Roadmap 【原文發表日期】Monday, September 11, 2006 10:01 AM在過去的一年內,我們一直在奮力開發Atlas。Atlas一直在發展,變化和成長,是因為我們得到了驚人數量的反饋和早期採納。我們看到了圍繞著這個產品的難以置信的興趣和興奮,光是今年,下載數目就超過25萬次。發布Atlas 1.0版 很多人要求我們在Visual Studio下個版本發布之前推出一個完全支援的Atlas
Time of Update: 2018-12-03
【原文地址】Tips/Tricks and LINQ Slides+Demos from my Talk in Dallas 【原文發表日期】 Saturday, November 04, 2006 10:42 AM 上個星期四我很愉快地給North Dallas .NET User Group做了幾個小時的講座。我討論了2個主題:ASP.NET 2.0 技巧和訣竅這個講座討論了ASP.NET UI,AJAX,緩衝和部署,以及涉及Visual Studio
Time of Update: 2018-12-03
談起網頁的最佳化這個問題很多人都沒有什麼概念,有很多的業內人士都對網頁最佳化一無所知或者知之甚少。說起對網頁最佳化的理解,我曾經去各大搜尋引擎上搜尋過“網頁最佳化”一類的話題,結果都是介紹如何最佳化搜尋引擎排名的文章,其實這隻是最佳化概念的一個組成部分,而網頁的最佳化工作是由很多方面的最佳化組成的,作為一名優秀的網頁最佳化工作人員必須具備多方面的知識,不僅僅要掌握網站設計製作技術(包括網站架構設計、網頁設計以及製作頁面編寫代碼等等);還要掌握很多電腦其他方面的知識(包括電子商務、人機互動、易用性
Time of Update: 2018-12-03
今天研究了半天終於明白了 HQL 中怎麼勇集合函數 MAX(...) MIN(...) AVG(...) COUNT() ............本來的目標是 MAX(...) ,結果 這麼一句 HQL 語句總是得不到結構:string query = "SELECT MAX(ID) FROM Student";另外兩句:"SELECT MAX(Student.ID) FROM Student " 和 "SELECT MAX(ID) FROM Student AS stud";同樣得不到結果,
Time of Update: 2018-12-03
看看我的例子: Student 繼承User User.hbm.xml:<?xml version="1.0" encoding="utf-8" ?><hibernate-mapping xmlns="urn:nhibernate-mapping-2.0"> <class name="StudentMIS.Common.Data.User, StudentMIS.Common" table="[User]"> <id name="ID"
Time of Update: 2018-12-03
昨天用倒的強制回應視窗(window.showModelDialog("child.aspx",....)),可以向child.aspx傳值(可可以是DHTML對象,數組。。。)關閉child.aspx也可以通過returnValue簡單傳值回父頁面,但是一個鬱悶的問題,是chi'l'daspx提交的時候,總是彈出新礦口,一直不知道如何解決,想換回window。open(),但是頁面間的互動太多了,(參數來回傳遞),今天終於csdn上面發現了,其實最簡單的就是在parent.aspx