2012年11月19日

摘要: 1、关于变量的作用域问题,为什么在程序的有些部分,无法使用相应的控件? 2、要得到combox的文本值,调用其text属性即可。 3、this.dataGridView1.CurrentCell.RowIndex;得到当前 dataGridView 1.处于活动状态的单元.获取单元格父行的索引 4、int MaxValue = Convert.ToInt32(new OleDbCommand("select Count(*) from 流量测量方法",conn).ExecuteScalar());//得到Access记录表的行数 5、Arraylist对象使用之前也要初始化 阅读全文
posted @ 2012-11-19 16:32 每一天都是崭新的~ 阅读(237) 评论(0) 推荐(0)

导航