Database returned the following error: Incorrect syntax near '\'.

Database returned the following error: Incorrect syntax near '\'.

  

I'm not sure why the database is returning this error, nor how to fix it. Is it possible to see exactly what the SQL Statement being sent to the server is?

Additionally, perhaps this is not the correct way to include an image in a table of data?

Hello PJ.

You can see the executed SQL directly on Service Studio by clicking here:



About the error, where do you want to show the image?

You can use the Image widget available on Service Studio, that allows you to chose from Static, from the database and from a URL, as you can see in here and as shown on this example:



Cheers,

GM

Are you trying to store the image in the database or just a link to the image? Your code is doing just the link.