2011年7月25日
摘要: 文章引自:http://www.cnblogs.com/spgoal/archive/2006/09/04/494665.html代码如下:View Code stringInputStr=tbKey.Text;foreach(DataGridViewRowdvrindataGridView1.Rows){if(dvr.Cells[0].Value.ToString().StartsWith(InputStr)){dataGridView1.ClearSelection();dvr.Selected=true;dataGridView1.CurrentCell=dvr.Cells[1];bre 阅读全文
posted @ 2011-07-25 17:12 wtq 阅读(595) 评论(0) 推荐(0) 编辑