摘要: 1 private void dataGridView1_DoubleCellClick(object sender, DataGridViewCellEventArgs e) 2 { 3 DialogResult result = MessageBox.Show("是否要修改当前行中单元格的内容?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question); 4 if (result == DialogResult.Yes) 5 { 6 ... 阅读全文
posted @ 2013-11-14 15:47 周小数 阅读(238) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-11-14 14:43 周小数 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 1 class Sdatareader 2 { 3 //ermethod方法是reader的方法,这里的commandbehavior.closeconnection会自动关闭连接和using的作用一样 4 public static OleDbDataReader ermethod(string str, params OleDbParameter[] parameters) 5 { 6 String connstr = ConfigurationManager.ConnectionStrings[... 阅读全文
posted @ 2013-11-14 09:34 周小数 阅读(139) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2013-11-14 09:30 周小数 阅读(1) 评论(0) 推荐(0) 编辑