using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace 省市联动 { public partial class
var dropDownList= document.getElementById("<%=DropDownListID.ClientID %>");//获取DropDownList控件 var dropDownListValue = dropDownList.options[dropDownList.selectedIndex].value;//获取选择项的值 //注:DropDownListID是DropDownList控件的ID. JS验证是否有非0值: -- if