Database connection issue

Hi!

I’m creating one form for email registration. but not able to understand how to connect it with my custom table.

I saw the data source file after the form folder so I’m creating one data source file and giving the database name and table name then create one from it and rendering that form on my page. but on click of submit button sql happened! I checked there is no bracket issue.

I’m facing SQL related issue.

  • the issue was :
    An unhandled exception occurred while processing the request.
    SqlException: Incorrect syntax near ‘)’.
    Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, bool breakConnection, Action wrapCloseInAction)

This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/111467-database-connection-issue