I tried to pass the textbox.text to a SQL string for query but it doesn't work, the code is the following. Thank you.
VB.NET:
[SIZE=2]SQLSTRING1 = [/SIZE][SIZE=2][COLOR=#800000]"SELECT emp_no, emp_name, nric_no, dept FROM Emp_Profile WHERE emp_name LIKE '%ToolStripTextBox1.Text%'"
[/COLOR][/SIZE]