我正在使用Visual Basic在Visual Studio 2010中构建网站,我试图在Drop Down List
中点击一个项目,它会打开一个对话框,提示用户输入在一些信息。我试过搜索我还没找到任何有效的代码。这是我到目前为止的代码;
Protected Sub MonthDropDownList_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles MonthDropDownList.SelectedIndexChanged
If MonthDropDownList.SelectedValue = "Add Month" Then
End If
End Sub