I have a gridview which contains the details of a number of products. I'm trying to use simplecart (http://simplecartjs.com/) to add shopping cart functionality to my page, and am stuck on one thing. In order to add an item to the cart you have to use the following link, which I added to a column in the gridview:
<a href="javascript:;" onclick="simpleCart.add( 'name=Name' , 'price=123' , 'quantity=1' );">Add To Cart</a>
I want to pass the values in the ProductName column and ProductPrice column to name and price above for each row, but have no idea how to go about it. I am completely new to html/asp etc. so please forgive me if it is a simple question.