网站VS 2010中的弹出窗体

时间:2013-07-23 15:31:13

标签: visual-studio-2010 forms drop-down-menu popup

我正在使用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

0 个答案:

没有答案