2015年3月15日

C# Windows DataGridView 判断CheckBox 选取的方法

摘要: 单行选中foreach (DataGridViewRow dr in this.dataGridView1.Rows) { try { //DataGridViewCheckBoxCell cbx = (DataGridViewCheckBoxCell)dr.Cells[0]; //if ((boo... 阅读全文

posted @ 2015-03-15 16:26 连一粝 阅读(347) 评论(0) 推荐(0) 编辑

C#自动生成年月,绑定到combobox控件

摘要: private void FillYearMonth() { List listDateTime = new List(); DateTime dtStart = Convert.ToDateTime("2015-1"); //开始时间 DateTime dtEnd = DateTime.Now;/... 阅读全文

posted @ 2015-03-15 09:41 连一粝 阅读(269) 评论(0) 推荐(0) 编辑

导航