05 2021 档案
Devexpress分组小计
摘要:gridViewmachinerepair.Columns["machine"].Group(); #region 自定义计算 double dateCount = 0; gridViewmachinerepair.CustomSummaryCalculate += (sender, e) => { 阅读全文
posted @ 2021-05-20 16:10 RookieBoy666 阅读(369) 评论(0) 推荐(0)
小写转大写
摘要:小写转大写: private string DaXie(decimal money) { string s = money.ToString("#L#E#D#C#K#E#D#C#J#E#D#C#I#E#D#C#H#E#D#C#G#E#D#C#F#E#D#C#.0B0A"); string d = R 阅读全文
posted @ 2021-05-20 09:12 RookieBoy666 阅读(139) 评论(0) 推荐(0)
预览打印
摘要:Print("preview"); 查询页面: private void Print(string printOrpreview) { DevExpress.XtraGrid.Views.Grid.GridView gridview = this.HwInInvGridView; int[] row 阅读全文
posted @ 2021-05-19 14:17 RookieBoy666 阅读(52) 评论(0) 推荐(0)
LINQ
摘要:LINQ(Language Intergrated Query):集成查询语言 string[] array = { "1", "5", "6", "7" }; var query = from s in array select s; foreach(var aaa in query) { Con 阅读全文
posted @ 2021-05-11 17:02 RookieBoy666 阅读(76) 评论(0) 推荐(0)