First, use parameterized queries to execute your SQL statement, not this string concatenation you're using. Why? You have a problem that is EASILY avoided by doing do.
This is what you're query currently looks like:
select * from Di1 Where Word LIKE'somevalue'%
You're missing a space after
LIKE
and the '%' character needs to be INSIDE the single quote marks, not outside of it.