I really need to delete items by 'Product ID', instead of 'SessionID' - that is displayed in the code below...
I have tried: " DeleteCommand=" DELETE * FROM [Basket] WHERE [SessionID] = ?" "... but it does not delete any of the records, just refreshes the gridview... Any help would be greatly appreciated.
Code:
<asp:GridView ID="GridView2" runat="server"