I have use this (123) 456-7890 format to search data on access database using winforms and my data was saved in same above format but I want do the search throw winform that allow me to enter 1234567890 then give the search result but I can't able to get it from access query
I have tried remove using access format function on my database but it doesn't work and also I have tried mysql replace query still not working.
here is my select query
Command.CommandText = @"SELECT * FROM PersonalINFO WHERE (FirstName + ' ' +
LastName = '" + search_txt.Text + "') OR (EmailAddress = '" +
search_txt.Text + "') OR (Home_Tp = '" + search_txt.Text +
"') OR (Cell_Tp = '" + search_txt.Text + "') ";
How do I able to ignore the brackets and dashes in the phone number mask when searching I can't able to create new row that without mask because my data size over thousand I have tried remove using access format function on my database but it doesn't work.