I have successfully developed the C# code that will enable me search the SQL database for text box text and display the result in a datagrid view. When the text box text is not found in the database, an empty row is displayed in the datagrid view.
However, I am at cross roads on how to write and add C# code such that a message box will pop-up if and when the text box text is not found in a data base table.
Below is my code so far:
public partial class SearchDatabase : Form
#region Global Declarations
// Global declaration for SQL
View Complete Post