I am not sure why are you allowing % in your TextBox simply don't allow it as LIKE is a predefined SQL function and that's how it works, if you have issue with some character simply don't allow it
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.