<asp:UpdatePanel ID="hh" runat="server" > <ContentTemplate> <div> <table class="" style=" margin-left:1145px; height:43px; margin-top:-90px; " width="300"> <tr> <td> <asp:Button id="BtnMyCart" runat="server" OnClick="BtnMyCart_Click" BorderStyle="None" Text="My Cart" ForeColor="#666666" style=" margin-left:-8px; height:36px; cursor:pointer; margin-top:51px; width:50px; text-align:center; background-color:Transparent; font-weight:normal" /> </td> <td> <asp:Label ID="LblMyCart" runat="server" ForeColor="#333333" Text="0" BackColor="White" style=" font-size:medium; font-weight:normal; width:45px; margin-top:16px; position:absolute; text-align:left; margin-left:-245px; "></asp:Label> </td> </tr> </table> </div> </ContentTemplate> </asp:UpdatePanel>
v_MyCart = v_MyCart + 1; Session["mycart"] = v_MyCart; LblMyCart.Text = Convert.ToString("(" + v_MyCart + ")"); LblMyCart.Visible = true;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)