Time of Update: 2018-12-05
1、不說“不可能”;2、凡事第一反應: 找方法,不找借口;3、遇到挫折對自己說聲:太好了,機會來了!4、不說消極的話,不落入消極的情緒,一旦發生立即正面處理;5、凡事先訂立目標;6、行動前,預先做計劃;7、工作時間,每一分、每一秒做有利於生產的事情;8、隨時用零碎的時間做零碎的事情;9、守時;10、寫點日記,不要太依靠記憶;11、隨時記錄想到的靈感;12、把重要的觀念、方法寫下來,隨時提示自己;13、走路比平時快30%,肢體語言健康有力,不懶散、萎靡;14、每天出門照鏡子,給自己一個自信的微笑;
Time of Update: 2018-12-05
核心代碼如下: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.
Time of Update: 2018-12-05
在平台叫用時,會遇到被調用的函數返回的是bool值,這時使用C#調用時便會得到錯誤的bool值,在網上查了一下,有2種解決方案1.定義被調用函數時不返回bool,直接回返回int.2.在聲明方法時加一個 [return: MarshalAs(UnmanagedType.I1)] 我的範例程式碼:C++ 編寫的樣本程式碼(Win32 DLL):編譯完成後,產生一個名為 DllTest.dll 的 DLL Code highlighting produced by Actipro
Time of Update: 2018-12-05
暫存資料表 SQL Server 支援暫存資料表。暫存資料表就是那些名稱以井號 (#) 開頭的表。如果當使用者中斷連線時沒有除去暫存資料表,SQL Server 將自動除去暫存資料表。暫存資料表不儲存在當前資料庫內,而是儲存在系統資料庫 tempdb 內。 暫存資料表有兩種類型: 本地暫存資料表 以一個井號 (#) 開頭的那些表名。只有在建立本地暫存資料表的串連上才能看到這些表。 全域暫存資料表 以兩個井號 (##)
Time of Update: 2018-12-05
3.1.1 使用Logman.exe工具 + 生產力 代碼Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Imports System.Data.SqlClientPublic Class MyApp Shared Sub Main() Dim cnSettings As SqlConnectionStringBuilder
Time of Update: 2018-12-05
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?xml version="1.0" encoding="utf-16"?><Classes xmlns="http://schemas.microsoft.com/VisualStudio/2004/03/SmartDevices/XMTA.xsd"> <Class
Time of Update: 2018-12-05
代碼bool closing = false;bool listening = false;//開啟or關閉串口btnOpen_Click(){ if(btnOpen.Text == "Open") { serial.Open(); } else { closing = true; while(listening)Application.DoEvents(); serial.Close(); cl
Time of Update: 2018-12-05
在sql 中 ' 單引號是用來表示字串的,如果字串中想包含 ' 單引號就需要轉義,所以會看到 '''' 來表示一個 ' 字串。這樣在Sql語句中,除數字外都用上單引號,如果涉及到串連就用'+"..."+'例如:declare @strCondition nvarchar(3000)set @strCondition = @strCondition + ' and (userQuestion.topic like ''%'+ @key + '%'' or
Time of Update: 2018-12-05
在JNI中使用 itoa函數,總是說沒有這個函數,jni/TestJni.cpp:22:18: error: 'itoa' was not declared in this
Time of Update: 2018-12-05
window.alert:參數,只有一個,顯示警告框的資訊; 無傳回值. <script> window.alert("確定.") </script> window.confirm : 參數就只有一個.顯示提示框的資訊. 按確定,返回true; 按取消返回false. <script> var bln =
Time of Update: 2018-12-05
很少用到錨點的知識,但今天又看到了,就要記錄下來,它同樣也有著如asp傳值一樣的功效,雖然不是那麼強打;設定錨點<a name="top"></a>同頁跳轉<a href="#top">返回頂部</a>不同頁跳轉<a href="test.htm#top>跳轉到test.htm頁面頂部</a> 順便的提一下mailto,以前絲毫沒有瞭解過mailto還有郵件主題“subject”添加的屬性一個完整的mailto文法是這樣的&
Time of Update: 2018-12-05
View Code public class RemotingWork : MarshalByRefObject { public void test() { int sum = 1; for (int i = 1; i <= 100; i++) { sum += i; }
Time of Update: 2018-12-05
btnCalc_Clickprivate void btnCalc_Click(object sender, EventArgs e) { double total = 0.0d; string ctypeStr = icmbCtype.SelectedItem.ToString(); css = DXSLFactory.CashFactory.CreateCashSuper(ctypeStr);
Time of Update: 2018-12-05
WpfApplication1.DXSL.BLL。 ReportTimeEventArgs TimeButton namespace WpfApplication1.DXSL.BLL{ using System.Windows.Controls; using System.Windows.Input; using System.Windows; #region ReportTimeEventArgs public class
Time of Update: 2018-12-05
昨天更新引用web service的項目時,出現 無法識別的配置節點 applicationSettings/* Properties.Settings 這樣的問題ApplicationSetting 節點的內容: <applicationSettings> <Test.Site.Properties.Settings> <setting name="Test_Site_StudentWebService_StudentWebService"
Time of Update: 2018-12-05
LinQ中Union合并查詢:串連不同的集合,自動過濾相同項;延遲。即是將兩個集合進行合併作業,過濾相同的項 var cities = (from p in mylinq.System_Places where p.PID == place select p).Union( from q in mylinq.System_Places where q.Parentid==place select q
Time of Update: 2018-12-05
.NET 3.5 還包含一個新的new System.Runtime.Serialization.DataContractJsonSerializer class 類 ,你也可以用它來做JSON (JavaScript Object Notation)序列化/還原序列化的工作。 /// <summary> /// Json資料轉換封裝 /// </summary> public static class JsonHelper { /
Time of Update: 2018-12-05
擴充XmlDocumentpublic static class XmlDocumentExtensions{ public static XDocument ToXDocument(this XmlDocument document) { return document.ToXDocument(LoadOptions.None); } public static XDocument ToXDocument(this XmlDocument document,
Time of Update: 2018-12-05
Computer management 電腦管理 : compmgmt.msc Device manager 裝置管理員 : devmgmt.mscDisk management 磁碟管理 : diskmgmt.mscDisk defrag 磁碟磁碟重組程式: dfrg.mscEvent viewer 事件檢視器 : eventvwr.mscShared folders 共用資料夾 : fsmgmt.mscGroup policies 組策略 : gpedit.mscLocal users
Time of Update: 2018-12-05
public static string statistical_data = "統計資料資訊.txt"; // List<string> list = new List<string>(); // list.Add("標題=" + Title_null_num.ToString() + "RowId=" + idr["RowId"].ToString());// list.Add("內容=" +