Hi there, im trying to filter my datagridview by a value inputted into a textbox, but the problem im having is that no matter what employee i try to search for, the only one it filters every time is the first employee, which is the first record in the access database that it is bound to. the code below is just giving me the first row every time, can anyone help? its coded behind a button and the user enters the employee to search for in the textbox
EmployeeBindingSource.Filter = String.Format("EmployeeName Like '*" & txtName.Text) & "*'"
EmployeeBindingSource.Filter = String.Format("EmployeeName Like '*" & txtName.Text) & "*'"