convert data that is inserted with dropdownlist...need help
Any idea how this conversion can be done?
Dim objdrKecacatan As SqlDataReader
Try
conn.Open()
objdrKecacatan = objCmd4.ExecuteReader()
DDListKecacatan.DataSource = objdrKecacatan
DDListKecacatan.DataTextField = "Kecacatan"
DDListKecacatan.DataValueField = "KodCacat"
DDListKecacatan.DataBind()
objdrKecacatan.Close()
Dim itemBangsa As ListItem = New ListItem("Pilih Kecacatan (Jika Ada)", "-1")
Me.DDListKecacatan.Items.Insert(0, itemBangsa)
Catch err As Exception
Response.Write("Kecacatan: " & err.Message())
Response.Redirect("errorpage.aspx")
Finally
conn.Close()
End Try
the dropdown list get feed form a table and inserted into another tables . how can i get the values in my dropdownlist to bind to textbox/label?

