I am in process of writing DAL in which I have to pass a keyword with that will be checked using LIKE statement.
The actual statement should appear like this "select * from mytable where username = '%keyword%'.
How to pass the value in the SQL Parameter?
Thanks