Time of Update: 2018-12-07
http://blogs.msdn.com/b/chrishays/archive/2004/07/23/horizontaltables.aspx Question:Does Reporting Services support horizontal tables (fixed rows and dynamic columns)?Answer:There is no native "horizontal table" report item, but simple horizontal
Time of Update: 2018-12-07
http://stackoverflow.com/questions/12424537/why-ienumerablet-is-defined-as-ienumerableout-t-not-ienumerabletThe out type parameter specifier denotes covariance.In practice,If I define two
Time of Update: 2018-12-07
public partial class Employee { partial void OnCreated() { this._ExTable = new EntitySet<ExTable>(null, null); } private EntitySet<ExTable> _ExTable; [Association(Storage = "_ExTable",
Time of Update: 2018-12-07
整理的對PrintControl進行設定的代碼using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using DevExpress.XtraEditors;using DevExpress.XtraReports.UI;using De
Time of Update: 2018-12-07
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using DevExpress.XtraReports.UI;using DevExpress.XtraReports.UserDesigner;
Time of Update: 2018-12-07
同事想實現一個保留添加順序的字典表,用Hashtableb不能滿足要求,普通的SortedList會自動排序,看了一下協助,實現方法非常簡單,代碼如下:using System;using System.Collections;namespace testSortedList{ class Class1 { [STAThread] static void Main(string[] args) { SortedList
Time of Update: 2018-12-07
從人的生物屬性來說:早上是身體與腦袋都處於最佳狀態。從我自身來說:不論晚上睡眠品質如何,早上我的精神最好,下午和晚上都不行,也不能用來思考,一想東西就犯困。我們家孩子也是:早上最安靜,最乖,最懂事,下午就不如早上。 以前不論別人怎麼說,自己都意識不到,今天自己算是頓悟了。 接下來就是安排自己的工作與生活了,很簡單:將自己需要進行思考與分析等宏觀的內容全部安排到上午。將解決問題與尋找解決問題方法的內容全部安排到下午或晚上。如果在節假日有自己的事要分析,也要安排在上午,這一點很重要。 google的
Time of Update: 2018-12-07
toolTipController1.ShowHint(args, lbSampleManual.PointToScreen(new Point(e.X, e.Y)));toolTipController1.Rounded = True;toolTipController1.ShowBeak = True;toolTipController1.ShowShadow = True;ToolTipControllerShowEventArgs args =
Time of Update: 2018-12-07
用到的命名空間是: using DevExpress.XtraTab; using DevExpress.XtraTab.ViewInfo;用到的變數: private Rectangle rectDragBoxFromMouseDown; private bool isDragging = false; private Point dragOffset = Point.Empty;建立所用到的函數: private void CalcRectDragBox(
Time of Update: 2018-12-07
就兩行代碼,弄了我一天,上火 [Export(typeof(IWindowManager))] public class AddInWindowManager : WindowManager { protected override System.Windows.Window EnsureWindow(object model, object view, bool isDialog) { var window =
Time of Update: 2018-12-07
一年前寫的小工具,我一直在使用,感覺還是很方便的。程式以簡單實用為目的,啟動後不顯示任何介面,只會再建立一個案頭,用WIN+1和WIN+2按鍵組合在兩個案頭間切換。一個案頭用於工作,一個案頭用於娛樂,互不干擾。原始碼及可執行檔下載:PharaohDesktop.zipDelphi原始碼:Code highlighting produced by Actipro CodeHighlighter
Time of Update: 2018-12-07
代碼如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using DevExpress.XtraEditors;using DevExpress.XtraReports.UI;using
Time of Update: 2018-12-07
[Serializable]public class MyViewModel : IEditableObject{ [NonSerialized] private object[] _copy; public MyViewModel() { Name = string.Empty; } public int Age { get; set; } public string Name { get; set; } public
Time of Update: 2018-12-07
在Access中使用DISTINCT會將欄位截斷。過程重現如下:用Access建立一個表T,建立兩個欄位a,b。b欄位的類型為備忘。添加一條記錄,為b欄位輸入一段很長的文本。使用“select * from t”和“select a,b from t”查詢結果正常。使用“SELECT DISTINCT a, b FROM t;”,查詢結果b欄位內容被截斷。感覺使用DISTINCT
Time of Update: 2018-12-07
HRMS中我們請假、加班是兩大類,小類有很多,類如:請年假、請補休、請病假、節假日加班,平時加班等等這些都是根據業務進行分類,方便統計,這可好可以認為是一個維度 在實際運行過程中有一些情況需要處理,就拿年假來說對說員工的年假可能休,可能作廢,可能補工資等待,這些情況下加分類固然能解決問題,但是就增加了統計分析的難度。從統計分析的角度來看,最常用統計可能為:剩餘年假、剩餘加班等等 這裡我們加上財務的一些方法來處理1.加上科目(Account)概念:年假、加班2.加上借貸最後的資料行可能行如:Sta
Time of Update: 2018-12-07
Resharper4.5:增強你的.net開發介紹無庸置疑,ReSharper是最智能化的微軟Visual Studio外掛程式。它包括一系列豐富的能大大增加C#和Visual
Time of Update: 2018-12-07
Person 資訊系統中人,所有人的資訊就是Person對象的屬性了,例如:FirstName,LastName,Card等等。Employee僱員資訊, Person在一個公司的任職情況,例如:部門、層級等等。 在多數的資訊系統在設計時,Person 與 Employee 是設計在一起的,一般是夠用的,但是再處理一些情況就力不從心了1.入職-->離職 ----
Time of Update: 2018-12-07
我在網上找到C#擷取網頁內容的代碼:http://qilinwuxian.blogchina.com/1438711.html在擷取小網頁的時候沒什麼問題,但是網頁比較大時文本會截斷,用StreamReader就沒有什麼問題,不知道是為什嗎?用代碼中的5,6,7行的方法,count的值明顯小於buf的長度,為什麼不能讀完全呢? 1HttpWebRequest HttpWReq = (HttpWebRequest)WebRequest.Create("http://www.cnblogs.com/
Time of Update: 2018-12-07
轉載:http://www.cnblogs.com/netsql/archive/2010/05/28/1746586.htmlPowerDesigner的主要作用一般還是資料庫建模,並產生對應的資料庫設計文檔,可以與資料庫保持同步。 一般常用的有CDM,PDM,UML建模,CDM可以轉為PDM。 支援正向[產生資料庫]和逆向工程[從資料庫中產生],並直接關聯到到資料庫中,PDM可以直接和資料庫進行關聯,並將資料庫,表,視圖,觸發器等資料庫物件產生到資料庫中,也可將這些對象更新到PDM中。
Time of Update: 2018-12-07
keycode 8 = BackSpace BackSpacekeycode 9 = Tab Tabkeycode 12 = Clearkeycode 13 = Enterkeycode 16 = Shift_Lkeycode 17 = Control_Lkeycode 18 = Alt_Lkeycode 19 = Pausekeycode 20 = Caps_Lockkeycode 27 = Escape Escapekeycode 32 = space spacekeycode 33