Why is this value always 0?
I have searched this forums and haven't found much.
I have this code:
VB Code:
  1. Private Sub btnSubmit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSubmit.Click
  2.         Dim objComments As New Comment
  3.         With objComments
  4.             .Name = txtName.Text
  5.             .Email = txtEmail.Text
  6.             .TypeID = cboArea.SelectedIndex
  7.             .Comment = txtComments.Text
  8.             .Update()
  9.         End With
  10.     End Sub
Where "comments" is a class module that has 4 props and some code to save to the DB. Simple really.

Regardless of what I select in my combo the selectedindex is always 0, which means I can't get the ID value for the selected item.
I have ASP.NET Unleased and it's sample code is exactly what I have above

Woka