how to remove repeater item
for example repeater show multiple item
describe item:
1. add one products that id is =2 and sizeid=01
second item product that id is same =2 but size id=02
when i will want to delete first product then it remove both products
because i will pass product id : likr this
CommandArgument='<%#Eval("ProductId") %>' CommandName="cmd_remove" />
i will want to pass sizeid but how please any body describemy code is:
if (e.CommandName == "cmd_remove")
{
ObjAdmin.ProductId = int.Parse(e.CommandArgument.ToString());
ObjAdmin.SessionId = Session.SessionID;
ObjAdmin.size_id = int.parse(Session["lbl_sizeid"].ToString());
int val = ObjAdmin.Delete_MyCart();
CheckCart();
Response.Redirect("MyCart.aspx");
}
in this size id not get
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

JohnPosted Jul 16, 2016, 4:39 AM