locked
Simple question for a beginner in Mobile Apps RRS feed

  • Question

  • User-971939847 posted
    i am trying to use selection list (radio)  and am binding it to datasource , but when i tag
    DataTextfield = "Product Name"   and 

    DataValueField = "ProductID" instead of seeing real product ID, i see 0, 1, 2, 3 ...etc in value field


    also i need to pass the selected value to the next page

    can some one throw an insight on this

    Thanks
    MP


    Tuesday, November 22, 2005 5:32 PM

All replies

  • User-169588073 posted

    Please try this

    Private Sub lstProducts_ItemCommand(ByVal sender As System.Object, ByVal e As System.Web.UI.MobileControls.ListCommandEventArgs) Handles lstProducts.ItemCommand

    Dim intProduct As integer
    intProduct  = e.ListItem.Value

    RedirectToMobilePage("PageNAme.aspx?ID=" & intProduct  )

    End Sub

    Thursday, November 24, 2005 10:35 AM