When adding parameters to SQL queries in code behind ASP.NET pages, the ideal syntax is to use a SQL parameter to help build your query string, rather than creating a text string on the fly. There is a trick, though, if your query contains the ‘Like’ keyword. As an example, consider the following co...
[More]