Posted on: 7/4/2014 6:59:38 AM | Views : 398

Hi,
     i am Developing an inventory management website in this website i am working on a page where i have develop code  for shopping cart but its logic is not that good .
can you help me by telling me what is best logic to implement this code ? or how exactly coding for cart is done
Here is my code behind file which fired when add button is clicked :
Protected Sub ADD_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ADD.Click CartInfo.Visible = True Dim sno(8), Qty(8), SubTotal(8) As Integer Dim items(8) As String sno(index) = index + 1 items(index) = ItemsInfo.SelectedItem.Text Qty(index) = UserQnty.Text 'Pricing Dim penPricing As Integer = 10 Dim notepadPricing As Integer = 20 Dim paperPricing As Integer = 30 Select Case ItemsInfo.SelectedItem.Text Case &quo ...

Go to the complete details ...