this.EntityDataSource1.Where = "it.Name like '%@Name%'";
Something is wrong in this where clause because it seem to be getting equal and not like.
The problem is that i want to view the SQL that is being called to the database to see what is the problem.
Can I do that?
If you want to view the SQL, use SQL profiler ( http://msdn.microsoft.com/en-us/library/ms187929(v=sql.100).aspx )