Thanks for taking your time to help me out,
I am trying to create a shopping cart ecommerce cart within my website project for college I have chosen to use an SQL database cart,
within my select statement I have used this:
Cart_ID = Session(Cart_ID)
Product_ID = Control(SelectedDataKey)

The problem is it is saying "incorrect syntax near 'Cart_ID'" yes Cart_ID is correct although I don't know what is wrong with the syntax, I am trying to retrieve the session and selecteddatakey.
Thank you.