this is my datalist....i want the item to get deleted when the buttonbtnremovefromcart is clicked.....
thank's in advance......
ID="dlmycart" runat="server" RepeatLayout="Table" RepeatColumns="1" RepeatDirection="Horizontal" CellPadding="0" CellSpacing="0" BackColor="Aqua" Width="100%">Width="80%" BackColor="Violet" />
border="0" style="width: 100%; height: 300px; border: 2px solid Blue; background-color: ; text-align: center">
class="name1"> <%# Eval("Name") %> Productid: class="productId1" style="font-size: 20px; color: Yellow; font-weight: 500;"> <%# Eval("Productid") %>
/>Descriptionclass="description1"> <%# Eval("Description") %>
/>ImageUrl:class="imageUrl1"> <%# Eval("ImageUrl")%>
/><%# Eval("ImageUrl")%>" width="160px" height="320px" />
/>Price:class="price1"> <%# Eval("Price")%>alt="" src="star-icon.png" />
Quantity:class="quantity1"> <%# Eval("Quantity")%>
/>onclick='Removefromcart(this.getAttribute("data-pid"));' />

Replies
Know the answer? Post it — somebody with the same question will find it here.