Prashant Malav

Prashant Malav

  • NA
  • 80
  • 19.7k

Add To Cart Button, The counter doesn't increment

Sep 3 2015 8:27 AM
Hello..
 
 Please when I click on the Add To Cart Button, The counter doesn't increment and it doesn't throw any error. Please I'm stocked, I need help.
 
Code:- aspx.cs
protected void itemcommand(object source, DataListCommandEventArgs e)
{
if (e.CommandName !=null)
DataListItem row = DataList1.Items[e.Item.ItemIndex];
Label lblFirstName = (Label)row.FindControl("lbl_IDPASS"); 
 string s_uniqueid = lblFirstName.Text;
 Session.Add("title", s_uniqueid);
 
last time add to cart item show only detail.. does not increment..... 

Answers (1)