06 2018 档案

摘要:/// <summary> /// 设置自动跳行选择 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> int index = 0;//dgv索引 bool b = false;//判断是否未向 阅读全文
posted @ 2018-06-29 10:32 蒲公英的约定&h 阅读(207) 评论(0) 推荐(0)
摘要:int j = 1; private void timer1_Tick(object sender, EventArgs e) { timer1.Enabled = false; GetData(j); } private void Frm生产任务看板_Load(object sender, Eve 阅读全文
posted @ 2018-06-21 14:01 蒲公英的约定&h 阅读(193) 评论(0) 推荐(0)
摘要:用两个时间timer控件来控制,index为当前索引,没选择一行后先++,再把上一行的选择Selected=false,再选择下一行,要不然会出现一条条累加选择 阅读全文
posted @ 2018-06-20 15:08 蒲公英的约定&h 阅读(133) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-20 09:57 蒲公英的约定&h 阅读(470) 评论(0) 推荐(0)
摘要:string sqlWhere = string.Empty; string sqlWhere2 = string.Empty; if (!string.IsNullOrEmpty(textBox2.Text)) { sqlWhere += " and pick_doc like '%" + tex 阅读全文
posted @ 2018-06-16 14:11 蒲公英的约定&h 阅读(147) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-15 11:55 蒲公英的约定&h 阅读(110) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-14 17:19 蒲公英的约定&h 阅读(82) 评论(0) 推荐(0)
摘要:/多表多行多列的情况 foreach (DataTable dt in YourDataset.Tables) //遍历所有的datatable { foreach (DataRow dr in dt.Rows) ///遍历所有的行 foreach (DataColumn dc in dt.Colu 阅读全文
posted @ 2018-06-13 16:59 蒲公英的约定&h 阅读(174) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-12 10:30 蒲公英的约定&h 阅读(185) 评论(0) 推荐(0)
摘要:label居中布局最后一列无限拉伸,解决办法 l_1.Width = l_2.Width = l_3.Width = l_4.Width = l_MB.Width = l_RK.Width = l_RY.Width = l_SJ.Width = (this.Width - label2.Width) 阅读全文
posted @ 2018-06-11 14:27 蒲公英的约定&h 阅读(445) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-08 11:06 蒲公英的约定&h 阅读(230) 评论(0) 推荐(0)