选择省份、选择省市区举例【c#】【js】







            
                
            
            
                
                
                
                
if (Convert.ToInt32(lblID.Text) > 0) lbl332city.Text= Convert.ToString(data.Rows[0][1]); } protected void btnSubmit_Click(object sender, EventArgs e) { lbl332city.Text = tbcity.Text; if (CheckInput()) { //addinfo/update //use: tbcity.Text } } private bool CheckInput() { bool Result = true; if (tbcity.Text=="") { lblMessage.Text = "请选择城市"; Result = false; } return Result; }
C