1. if (textBox.Text == String.Empty )
2. if (String.IsNullOrEmpty(textBox.Text))
3. if (textBox.Text == "" )
winfrom判断文本框不为空的三种方式
最新推荐文章于 2021-07-13 09:25:17 发布
1. if (textBox.Text == String.Empty )
2. if (String.IsNullOrEmpty(textBox.Text))
3. if (textBox.Text == "" )