Posted on: 4/2/2014 1:09:32 AM | Views : 346

I have a DropDownList and I have a subroutine activated to execute when the Selected Index is Changed.  The ddl changes but the subroutine is not enacted.
<asp:DropDownList ID="DropDownList1" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" runat="server"></asp:DropDownList> I have populated my ddl box.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then Dim connStr, cmdStr As String Dim ds As New DataSet connStr = "connection string works" Try cmdStr = "SELECT [idt],[col1] FROM [test];" Using conn As New SqlConnection(connStr) Using cmd As New SqlCommand(cmdStr, conn) conn.Open() cmd.ExecuteNonQuery() U ...

Go to the complete details ...