2020年10月15日
摘要:
gridView1_CellValueChanged事件在 SetRowCellValue后触发 或者编辑修改后触发 this.gridView1.SetRowCellValue(rowindex, "sqty", sumdt.Rows[0]["quantity"].ToString()); 设置复
阅读全文
posted @ 2020-10-15 10:24
RookieBoy666
阅读(320)
推荐(0)
2020年10月9日
摘要:
获取ListBox项目 数量 ItemCount
阅读全文
posted @ 2020-10-09 13:16
RookieBoy666
阅读(496)
推荐(0)
2020年9月30日
摘要:
System.Windows.Forms.ComboBox-->DevExpress.XtraEditors.LookUpEdit string defaultvalue = ""; DataTable dtep_tagtype = JsonConvert.DeserializeObject<Dat
阅读全文
posted @ 2020-09-30 14:44
RookieBoy666
阅读(302)
推荐(0)
2020年9月1日
摘要:
GridControl int[] rows = this.gridView1.GetSelectedRows(); //获取选中行 gridView1int index=gridView1.FocusedRowHandle;//获取选中行id string id = FRDataGridView.
阅读全文
posted @ 2020-09-01 16:22
RookieBoy666
阅读(702)
推荐(0)
2020年8月4日
摘要:
非递归写法: public static int search(int left, int right, int[] array, int key) { int mid = (left + right) / 2; //不在当前搜索集里面 if (key < array[0] || key > arr
阅读全文
posted @ 2020-08-04 14:03
RookieBoy666
阅读(197)
推荐(0)
2020年7月31日
摘要:
1.String.Join string[] s = { "我", "爱", "中","国" }; string s1=String.Join(" ",s); Console.WriteLine(s1); //输出:我 爱 中 国 Console.WriteLine(s1.Length);//长度为
阅读全文
posted @ 2020-07-31 14:43
RookieBoy666
阅读(222)
推荐(0)
2020年7月23日
摘要:
/// <summary> /// /// </summary> /// <typeparam name="T"></typeparam> /// <param name="dtSource">数据集</param> /// <param name="filedName">列名</param> //
阅读全文
posted @ 2020-07-23 15:01
RookieBoy666
阅读(2164)
推荐(0)
2020年7月20日
摘要:
/// <summary> /// 获取字符串中的数字 /// </summary> /// <param name="str">字符串</param> /// <returns>数字</returns> public static decimal GetNumber(string str) { d
阅读全文
posted @ 2020-07-20 17:12
RookieBoy666
阅读(143)
推荐(0)
2020年7月18日
摘要:
string text = @"var query = from info in infoList where info.AuditFlag == null || info.AuditFlag == false join emp in empList on info.SaleMan equals e
阅读全文
posted @ 2020-07-18 09:50
RookieBoy666
阅读(396)
推荐(0)
2020年7月6日
摘要:
类: class AutoSizeFormClass { //(1).声明结构,只记录窗体和其控件的初始位置和大小。 public struct controlRect { public int Left; public int Top; public int Width; public int H
阅读全文
posted @ 2020-07-06 20:23
RookieBoy666
阅读(211)
推荐(0)