Beispiel #1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     if (TextBox3.Text.Trim() == "" || TextBox4.Text.Trim() == "" || TextBox5.Text.Trim() == "")
     {
         Response.Write("<script>alert('留言失败');</script>");
     }
     else
     {
         FeedBack ra = new FeedBack();
         ra.addfeedback(TextBox3.Text, TextBox4.Text, TextBox5.Text);
         CommTools.alert(this, "提交成功,感谢您的反馈!~");
     }
 }