上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
  2020年12月30日
摘要: 1.常规查询界面(shfit多选): private void Print(string printOrpreview) { int[] rows = this.gridviewpurpay.GetSelectedRows(); if (rows.Length <= 0) { MessageBox. 阅读全文
posted @ 2020-12-30 14:07 RookieBoy666 阅读(123) 评论(0) 推荐(0) 编辑
  2020年11月17日
摘要: ..... //string fupage = System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName;//功能页面 阅读全文
posted @ 2020-11-17 09:46 RookieBoy666 阅读(550) 评论(0) 推荐(0) 编辑
  2020年11月4日
摘要: 需要使用三元操作符: newValue = (oldValue is DBNull) ? null : oldValue; 阅读全文
posted @ 2020-11-04 09:07 RookieBoy666 阅读(1566) 评论(0) 推荐(0) 编辑
  2020年10月22日
摘要: /// <summary> /// formprintquery界面 新增 编辑 /// </summary> /// <returns></returns> [HttpPost] public int InsertOrUpdateFormPrintFile() { HttpContext cont 阅读全文
posted @ 2020-10-22 14:44 RookieBoy666 阅读(132) 评论(0) 推荐(0) 编辑
  2020年10月15日
摘要: gridView1_CellValueChanged事件在 SetRowCellValue后触发 或者编辑修改后触发 this.gridView1.SetRowCellValue(rowindex, "sqty", sumdt.Rows[0]["quantity"].ToString()); 设置复 阅读全文
posted @ 2020-10-15 10:24 RookieBoy666 阅读(293) 评论(0) 推荐(0) 编辑
  2020年10月9日
摘要: 获取ListBox项目 数量 ItemCount 阅读全文
posted @ 2020-10-09 13:16 RookieBoy666 阅读(485) 评论(0) 推荐(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 阅读(285) 评论(0) 推荐(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 阅读(613) 评论(0) 推荐(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 阅读(191) 评论(0) 推荐(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 阅读(211) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页