I have a simple grid view that i want to be able to delete rows from by clicking the delete button that's automatically created.
Every time I click on the delete button to delete the row i get the following error:
Incorrect syntax near 'int'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near 'int'.
When I look at the stack trace the only part mentioning 'int is:
System.Web.UI.WebControls.GridView.HandleDelete(GridViewRow row, Int32 rowIndex) +714
I'm new to using asp so this could be a simple problem hopefully .
Thanks for any help