Author: infinita | Posted on: 5/21/2009 2:54:53 AM | Views : 261

 Hi all,
I'm new on this forum and in programing/databased world so please be indulgent.
I'm trying to add an item to my shopping card where price depends on radio button list selected value. RadioButtonList calls dynamicly values from database. Under button click I have this code:
---------------------------------------------------------

Protected Sub ButtonBuy_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles ButtonBuy.Click
        Response.Write("Purchasing stock<br />")

        Dim CurrentProductID As Integer = Request.QueryString("ProductID")    'get the selected item from the QueryString
       
        If CurrentProductID = 0 Then CurrentProductID = 1 'this is the default item

  &n ...

Go to the complete details ...