Text是不会等于null的,所以你的if就一定能有效,应该是if (TextBox1.Text !="" && TextBox2.Text != "" && TextBox3.Text != "")或者更完善点if (TextBox1.Text.Trim() !="" && TextBox2.Text.Trim() != "" && TextBox3.Text.Trim() != "")
留联系瞧瞧!