能不能搜索 DataGridView 里的内容?
jrmd 2009-03-12 08:53:16 我的 DataGridView 的 Column 全部都是 DataGridViewTextBoxColumn 类型,
我提供给用户一个 TextBox,用户在这里输入“搜索关键字”,点击搜索后自动定位到 DataGirdView 里包含“搜索关键字”的那一行,
DataGridView 有提供这个功能吗?
===============================================================================
就是 DataGridView 自己将所有行的TEXT与“搜索关键字”对比,并定位到第一个匹配行。