my god dam decrease button works............ it was just a fluke i'dont know how it works but it works HAZA!!!!!!!!!!!!
' get the CartID of the row that has been selected
Dim intCartID As Integer = e.CommandArgument
' Instantiate a User object.
Dim ThisShoppingCart As ShoppingCarts = Session("shoppingCart")
' Determine what the CommandName is & call operations accordingly.
If e.CommandName = "Increase" Then
ThisShoppingCart.IncreaseCartQuantity(intCartID)
End If
If e.CommandName = "Decrease" Then
ThisShoppingCart.DecreaseCartQuantity(intCartID)
End If
If e.CommandName = "Remove" Then
ThisShoppingCart.RemoveFromCart(intCartID)
End If
' WORKAROUND: Refresh the page to ensure the user panel is updated with current shoppingcart info.
Response.Redirect("shoppingCart.aspx")
End Sub
Friday, May 21, 2010
Tuesday, May 11, 2010
Product grid view
today i am now coding my store product page with the grid view.
i made two classes Product with the getters and setters etc and my productlist which will list the prcedures to list = my product to the array list
showing product name.price and a image and the other connection string will display name,price,image and description
i made two classes Product with the getters and setters etc and my productlist which will list the prcedures to list = my product to the array list
showing product name.price and a image and the other connection string will display name,price,image and description
i found a back door!!!
If CategoryID = 501 Then
intCategoryID = CategoryID
strCategoryName = categoryName & "501"
intProductID = ProductID
strProductName = ProductName & "501"
strDescription = ProductDescription & "501"
decPrice = ProductPrice
End If
Xd ahhahahahahahh........................
this thing just writes 501 at the end of a qury string
intCategoryID = CategoryID
strCategoryName = categoryName & "501"
intProductID = ProductID
strProductName = ProductName & "501"
strDescription = ProductDescription & "501"
decPrice = ProductPrice
End If
Xd ahhahahahahahh........................
this thing just writes 501 at the end of a qury string
Wednesday, May 5, 2010
Master \page
ok this time i finsh my master page i have to make two master page on for the store pages and one for the normal pages
Subscribe to:
Posts (Atom)