Working on setting up a SqlDataSource connecting MySQL database to a ASP .NET GridView.
The Delete Command is:
DeleteCommand="DELETE FROM troutetracking WHERE id=?id"
The Delete parameter is:
<DeleteParameters>
<asp:Parameter Name="id" Type="Int32" />
</DeleteParameters>
When I run a delete link on the Gridview the following error message appears:
MySql.Data.MySqlClient.MySqlException: Parameter '?id' must be defined.
What is the proper syntax?