日期:2014-05-18  浏览次数:20969 次

这句语句有什么语法错误吗?怎么改?
RegisterStartupScript("PassWord", "<script language='javascript'>TxtPassword.value='" && Txt_Hid_Pass.Text && "';form1.TxtPassword.value='" && Txt_Hid_Pass.Text && "'</script>");


------解决方案--------------------
RegisterStartupScript("PassWord", "<script language='javascript'>TxtPassword.value='" + Txt_Hid_Pass.Text + "';form1.TxtPassword.value='" + Txt_Hid_Pass.Text + "'</script>");