想在数据提交按钮时,把录入数据显示后,再确认形成以下代码,可是在程序中却没到达要的效果(确认窗口没弹出),请交该如何改?protected void Button1_Click(object sender, EventArgs e)
  {
      
   if (TextBox1.Text.Length > 1)
    {
     Button1.Attributes.Add("onclick", "JAVAscript:return confirm('are you sure?')" + TextBox1.Text + "");   }