Dim BookName As String Bookname = SearchTextBox.Text Dim foundIndex As Integer foundIndex = BookDataTableBindingSource.Find("書籍名", BookName) If foundIndex < 0 Then MessageBox.Show("該当するデータがありません。") Else BookDataTableBindingSource.Position = foundIndex End If End Sub