我要建一个combobox控件下拉菜单是1物理超压2化学超压3气瓶安全泄放面积,选择后弹出新窗体或者什么的

来源:百度知道 编辑:UC知道 时间:2024/07/02 19:50:09

Protected Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
If DropDownList1.Text = "物理超压" Then
window.open("../这是你要打开页面的路径.aspx","","Status=yes,scrollbars=yes,resizable=yes,width=880,height=700,top="+topw+",left="+leftw);
elseif DropDownList1.Text ="化学超压" then
window.open("../这是你要打开页面的路径.aspx","","Status=yes,scrollbars=yes,resizable=yes,width=880,height=700,top="+topw+",left="+leftw);

Elseif DropDownList1.Text ="气瓶安全泄放面积" then
window.open("../这是你要打开页面的路径.aspx","","Status=yes,scrollbars=yes,resizable=yes,width=880,height=700,top="+topw+",left="+leftw);

End If
End Sub

我只写了DropDownList的后台代码,也只能写这么多了 ...