Torna al Thread
Protected Sub RepeaterCarrello_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles RepeaterCarrello.ItemCommand
Dim IdCart As Label = CType(e.Item.FindControl("IdCart"), Label)
Select Case e.CommandName.ToString
Case Is = "DeleteFromCart"
Dim clsOpDb As New ClassOperazioniDB
Call clsOpDb.EliminaProdottoDaCarrello(CInt(IdCart.Text))
Response.Redirect("~/Catalogo/Carrello.aspx", False)
End Select
End Sub