Time of Update: 2018-12-07
剛剛用了英文版本的作業系統,編譯原來程式時 出現 Error * could not create the new file tracking log file: D:/FileTracker : error FTK1011: could not create the new file tracking
Time of Update: 2018-12-07
有兩種方法來為資料庫建立一個新表,1. 我們可以用ADO.NET寫出並執行T-SQL語句來建立表: private void CreateTableBtn_Click(object sender, System.EventArgs e) { // 開啟串連 if (conn.State == ConnectionState.Open) conn.Close();
Time of Update: 2018-12-07
早晨看到一篇文章:http://www.codeproject.com/Articles/34556/Write-ETL-jobs-in-pure-C 有二個檔案:User name file(ID NAME)、Addresses file(ID ADDRESS):Id Name1 BobId Address1 123 Main St.2 42 Everywhich way如果想得到Id Name Address 如果在SQL中一個查詢 就可得到。 在檔案處理的過程中,基於c# 如何處理呢?
Time of Update: 2018-12-07
// 實現多key分組的擴充函數版本var sums = empList .GroupBy(x => new { x.Age, x.Sex }) .Select(group => new { Peo = group.Key, Count = group.Count() });foreach (var employee in sums) { Console.WriteLine(employee.Count + "
Time of Update: 2018-12-07
《讓僵冷的翅膀飛起來》系列之一——從執行個體談OOP、原廠模式和重構
Time of Update: 2018-12-07
錯誤提醒控制項if(this.textBox1.Text.Length>12||this.textBox1.Text.Length<6){this.errorProvider1.SetError(this.textBox1,"使用者名稱輸入錯誤");DialogResult
Time of Update: 2018-12-07
In this article we will see how we can create a simple Desktop Translator which uses the Bing Translator API. Next time when you want to translate a text, you do not have to open a new web browser and head to Bing or Google Translator. Just use this
Time of Update: 2018-12-07
string parms = @"<?xml version=""1.0"" encoding=""UTF-8""?> <Params> <ExcelRule>{0}</ExcelRule> <ExcelFile>{1}</ExcelFile&
Time of Update: 2018-12-07
眾所周知,水晶報表匯出成Excel文檔非常簡單,常規的作法就是在設計器中設計好報表後,選擇【檔案】->【匯出】->【匯出報表】,在彈出的對話方塊中選擇Excel這種匯出格式就好。要說明的是如果要求匯出的Excel文檔保持水晶報表的設計格式則不能選擇【Microsoft Excel
Time of Update: 2018-12-07
對象圖顯示一組對象和他們之間的關係.使用對象圖來說明資料結構,類圖中類或組件等執行個體的靜態快照.對象圖與類圖一樣是反映系統的靜態過程.用類圖描述設計,使用對象圖來描述一些具體的演算法對象圖的用途:捕獲執行個體和串連,在分析和設計階段建立,捕獲互動的靜態部分,舉例說明資料/對象結構,詳細描述瞬態圖,由分析人員,設計人員和代碼實現人員開發。對象圖的圖例說明:兩個圖分別表示是Line和Circle的一個執行個體,左圖說明了記錄Line這個執行個體的變數為line,而右圖則沒有說明具體的變數是什麼,只
Time of Update: 2018-12-07
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> //向上 private void button1_Click(object sender, EventArgs e) { if (this.listView1.SelectedItems.Count == 0) {
Time of Update: 2018-12-07
文章目錄 1、介面操作2、Net 命令操作 今天部署程式 在IIS5上面, 其實環境還是比較複雜,客戶機與開發機差異比較大的時候。 訪問iis中繼資料庫失敗,需要修改權 偵錯工具出現了“訪問iis中繼資料庫失敗”的錯誤,一般是由於先裝visual studio後裝iis服務造成的,看了網上最常見的解決方案就是運行aspnet_regiis -i
Time of Update: 2018-12-07
1。忽視右鍵 <body oncontextmenu="return false"> 或 <body style="overflow-y:hidden"> 2。加入背景音樂 IE:<bgsound src="*.mid" loop=infinite> NS:<embed src="*.mid" autostart=true hidden=true loop=true> </embed&
Time of Update: 2018-12-07
今天 在 http://www.infoq.com/cn/news/2012/06/Net-Zip 看到 .NET 4.5中提供的壓縮類,在此做下備份。 http://dotnetzip.codeplex.com/ One of the missing feature of .NET framework was a support for Zip file manipulation such as reading the zip archive, adding files,
Time of Update: 2018-12-07
<Iframe src="/URL" width="x" height="x" scrolling="[OPTION]" frameborder="x"></iframe> src:檔案的路徑,既可是HTML檔案,也可以是文本、ASP 等; width、height:"畫中畫"地區的寬與高; scrolling:當SRC的指定的HTML檔案在指定的地區不顯不完時,滾動選項,如果設定為NO,則不出現捲軸;如為Auto:則自動出現捲軸;如為Yes,
Time of Update: 2018-12-07
stringstr1 =string.Format("{0:N1}",56789); //result: 56,789.0stringstr2 =string.Format("{0:N2}",56789); //result: 56,789.00stringstr3 =string.Format("{0:N3}",56789); //result: 56,789.000stringstr8
Time of Update: 2018-12-07
轉載自:http://hi.baidu.com/%C4%B3%CD%C1/blog/item/1424ab03d730b28bd53f7c36.html-------------------------------------------------------------------------------------------------------------------------有水晶報表的程式在打包的時候,需要注意把sn一起打包進去,不然當程式安裝到沒有水晶報表的機器時會報錯具體步
Time of Update: 2018-12-07
ActionScript2.0比較落後,對XML節點不好操作,但勉強還是能讀到資料。 CodeCode highlighting produced by Actipro CodeHighlighter
Time of Update: 2018-12-07
這是前幾天發的一個作業。。現在擺上來和大家一起討論討論。程式大體要求如下:=================================================作業提供二個已有的檔案:Shop.exe和Products.dll。大體來說,Products.dll包括了3個class,一個是Dress,一個是Product,還有一個是ILLabel,而shop.exe只是一個簡單的測試程式。我們所要求做的內容如下:1。研究所給出的assemblies,並建立一個類圖來表示各個class
Time of Update: 2018-12-07
剛拿到這個題目的時候,想都沒想,就直接用ildasm 工具把shop.exe和products.dll檔案開啟,一陣亂看。。直接想開始編Trousers類,結果實踐證明,第一步的畫class diagram還是很重要的。下面是我的一些心得,大家不妨看看,雞蛋隨便扔,反正不花俺的錢,嘿嘿。。首先第一步應該利用ildasm將products.dll檔案開啟,仔細的看一下它的結構。然後分析其包括的3個類的關係。3個類的關係大致如下: Dress 類繼承了 Product類