Is there a simpler/faster way to search the dataset after it has been filled via sql select statement, without doing a new select statement or a for loop for each textbox.
i tried the following but it could not detect the primary key of the table.
If userDetailsTable.Rows.Contains(txtCasesReport.Text) Or txtCasesReport.Text = "" Then
blnValidEntry = True
Else
MsgBox("Invalid Entry", MsgBoxStyle.OkOnly, "Invalid Entry")
End If
Thanks in advance.

New Topic/Question
Reply




MultiQuote








|