I have a line of code that pulls some data. I need to use wildcard starting with. for the both name and surname area but couldn't be able to work this out.
code: CustomerDataGridView.DataSource = Me.CFSDataSet.Customer.Select("name LIKE'" & nmtxt.Text & "'AND surname LIKE'" & sntxt.Text & "'")
this returns both name and surname at the same time exaclty same as in the name and surname area but i need both areas return values those are starting with the textboxes. e.g John Doe Jo for the name and Do for the surname and it must return the complete name and surname. Thanks.