Author: wildflower98 | Posted on: 2/24/2009 9:27:57 AM | Views : 277

 I have reviewed the post here and else where to try to figure this out myself. However, to no avail. I have not been able to get the drop down to populate...and obviously not save to the db. I tried to use my db connection I created in my web config file. I put this code in my .vb file:
 
Partial Public Class _Default
    Inherits System.Web.UI.Page
    Function GetQuestion() As System.Data.DataSet
        Dim connectionString As String = "Data Source=myconnection; Initial Catalog=myusername; User ID=myusername; Password='mypassword;"
        Dim dbConnection As System.Data.IDbConnection = New System.Data.SqlClient.SqlConnection(connectionString)

        Dim queryString As String = "SELECT question FROM security_question"
        Dim ...

Go to the complete details ...