If DataGridView1.Rows.Item(iIndex).Cells(0).Value = txt_lawSearch.Text Then
DataGridView1.Rows(iIndex).Selected = True
Me.DataGridView1.CurrentCell = Me.DataGridView1.Rows(iIndex).Cells(0)
Exit Sub
End If
Next iIndex
Posted on Monday, September 16, 2013 by nuyingnaja
Copyright ©
Coding Secrets in VB.NET | Powered by Blogger
Design by WP Lift | Blogger Template by NewBloggerThemes.com