put a select all query first to find if you are writing an invalid column name.
SELECT * FROM Your_Table_Name
That may help a little to find your error. For further help please provide the database schema of your table.
Happy Coding.
[Edit]Code block added[/Edit]