Time of Update: 2018-12-06
文章目錄 Build IconsShopping Cart IconsDC Social Icons – Set of 20 Clean IconsAugust Interactive FreebieMap Location Pins (PSD)Clear Icon Set (PSD)Mini Actions Icon SetPremium Pixels Icon Set50 crisp minimal vector iconsMeteocons15 free
Time of Update: 2018-12-06
1、新增一個SoapHeader類 public class Certificate : System.Web.Services.Protocols.SoapHeader { public Certificate() { } /// <summary> /// 使用者名稱 /// </summary> public string UserName { get; set; } /
Time of Update: 2018-12-06
有時候,大家在寫gridView的表頭時,需要用到以下顯示的樣子,:下面就是實現這個的代碼:protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Header) { TableCellCollection tcHeader = e.Row.Cells;
Time of Update: 2018-12-06
顯示本周周次:// <summary> /// 返回一個數組長度為3的字串數組 /// </summary> /// <returns>GetWeekDay[0]=周次;GetWeekDay[1]=該周第一天;GetWeekDay[2]=該周最後一天</returns> public string[] GetWeekDay() { string[] inti = new
Time of Update: 2018-12-06
編譯調試mono,並不複雜,首先在 http://www.go-mono.com/mono-downloads/download.html 下載原始碼. 下載之後,按照http://www.mono-project.com/Compiling_Mono_From_Tarball 所說的進行編譯安裝。(可以通過設定 ./Configure 的 --prefix=dirname 參數來指定安裝目錄。) 如下操作:gdb mono結果: Reading symbols from
Time of Update: 2018-12-06
今天把部落格的副標題改成了記錄無知的地方,那以後就不怕丟人,盡量把所有的無知都記錄下來。這才帶勁。 早在幾年前,貌似是4年前吧接觸的.NET,直接上手的是.NET2.0. 隨後就信誓旦旦,專註於.NET決不動搖,甚至鄙視其他語言,深鑽c#,準備大幹一場。 現在想想,挺可笑。 首先是視野問題,忘了是哪位大神說過,他每次技術上面的瓶頸都是視野的原因。視野的重要性我也不太會談,舉我自己的例子,我是一個windows程式員 ,對我影響很大的卻是《Unix 編程藝術》,《重構》以及 unix
Time of Update: 2018-12-06
編者按:原文作者喬納森·丹尼可(Jonathan
Time of Update: 2018-12-06
在7月的尾巴,買到了程式員7月號。其中有一篇文章很吸引我“激發企業創新力:內部開源”. 其內容主要是講作者通過觀察開源社區的工作模式,將其引入到企業中來。加強團隊的開放度以及創造力和凝聚力。如果感興趣的可以找找程式員7月號看看,或者直接看原著《beautiful
Time of Update: 2018-12-06
開源:給每個文檔計算一個指紋,然後用指紋進行相似性的計算 TextSimilarity textSimilarity =new TextSimilarity();//計算文章相似性指紋 int SourceFingerprint = textSimilarity.CalcTextFingerprint(SourceText);int DestFingerprint = textSimilarity.CalcTextFingerprint(DestText);//對指紋進行比較,計算相似性var
Time of Update: 2018-12-06
之前做項目時,由於項目需要,需要實現一個簡單的尋找替換功能,
Time of Update: 2018-12-06
C#動態產生控制項以及添加事件處理有時候需要在程式運行到一定時候或者某個事件之後需要動態產生控制項在C#下一般方式是: private Button Db=new Button() ; Db.Name="Dy_Button" //設定名稱 Db.Location=new Point(100,200);//設定位置 。。。。//其他屬性設定 //這裡添加訊息處理 。。 this.Controls.Add
Time of Update: 2018-12-06
1 2/**//*計算今天是星期幾*/ 3select datename(weekday,getdate()) 4 5/**//*查詢本年的資料*/ 6select * from users where year(time)=year(getdate()) 7 8/**//*查詢本月的資料,time是表users中代表時間的欄位*/ 9select * from users where month(time)=month(getdate()) and
Time of Update: 2018-12-06
$sql="select count(qID) from test_querys where isTested=1 and qID<=$maxID and qID>=$minID and qID not in (select distinct qID from $left_cr where isSubmit=1 and qID<=$maxID and qID>=$minID)"; $sql="SELECT count(a.qID)
Time of Update: 2018-12-06
使用netbeans6.9.1開發 j2me程式,運行時報錯誤:錯誤資訊如下MIDP: runMidlet.exe - 應用程式錯誤控制台提示:failed to connect to device 0!reason:emulator 0 terminated while waiting for it to register問題原因是java_me_platform_sdk_3.0的 runMidlet.exe 沒有通過資料執行防止:解決步驟如下:按右鍵案頭上的“計算 機”表徵圖,選擇“屬性”,
Time of Update: 2018-12-06
GridView 是ASP.NET 2.0的新增控制項之一,它的出現代替了原有的DataGrid控制項.如果你使用過ASP.NET 2.0. 在設計GridView控制項時你拖拽了一個Bound Field,那你可能會遇到一個問題.在早期的.NET版本中,如果想要訪問一列,但令它不可見,
Time of Update: 2018-12-06
因項目需要,要在.net中用c#實現計算兩個時間段的工作日總數,計算邏輯如下,兩個日期之間的星期6,星期天算休息日,不算工作日,同時可以在後台設定多段時間為公休日,比如2005-10-1至2005-10-7號為公休日,公休的日期在後台通過資料庫維護。(該計算邏輯可能不能百分百涵蓋工作日,有可能會在星期6或星期天也上班,大家可以根據該邏輯引申,我先拋磚引玉)
Time of Update: 2018-12-06
<head runat="server"> <title>無標題頁</title> <script language="javascript"> function check() { var email = document.getElementById('TextBox1'); var pwd = document.getElementById('TextBox2');
Time of Update: 2018-12-06
--Add DB Link Server EXEC sp_addlinkedserver @server = 'F6', --Server Name @srvproduct = 'MS SQL', @datasrc = '192.168.1.1' , --Server IP @provider = 'SQLNCLI' --Remove DB Link Server EXEC sp_dropserver
Time of Update: 2018-12-06
轉載出自: http://blog.csdn.net/bat800/archive/2007/07/17/1694537.aspx 一、asp.net中匯出Execl的方法: 在asp.net中匯出Execl有兩種方法,一種是將匯出的檔案存放在伺服器某個檔案夾下面,然後將檔案地址輸出在瀏覽器上;一種是將檔案直接將檔案輸出資料流寫給瀏覽器。在Response輸出時,t分隔的資料,匯出execl時,等價於分列,n等價於換行。
Time of Update: 2018-12-06
<!--圖片滾動代碼開始--><div id=demo style="BACKGROUND: #ffffff; OVERFLOW: hidden; WIDTH: 510px; COLOR: #ffffff; HEIGHT: 110px"><table cellPadding=0 align=center border=0 cellspace="0"><tr> <td id=demo1 vAlign=top> <!--您的圖片