|
-
May 21st, 2025, 08:05 AM
#1
Thread Starter
Hyperactive Member
I found this code to find a specific record in a table Sql.
Hi guys, I found this code and modified it to fit in my application. The code searches a specific record to display the result in a label. There is one text box to enter the word to search. Fill up the textboxes and one grid view. But I have found a word or face, I do not know what they are or do. And that is "SearchTerm" I don't know what the meaning is. Here is my code:
1) Dim command.Parameters.AddWithValue("@SearchTerm", "%" & searchTerm & "%")uery As String = "SELECT Company, Contacts, Telephone, Address, Email, AppoDate, AppoTime, Matters, Solutions
2) command.Parameters.AddWithValue("@SearchTerm", "%" & searchTerm & "%").
I appreciate your help and your time in advance. Thank you, wonderful Community guys.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|