if (!string.IsNullOrWhiteSpace(textBox1.Text) && !string.IsNullOrWhiteSpace(textBox2.Text)
{
//do code here
}
PICHU.
if (textBox1.Text == "" && textBox2.Text == "") return;
else if (textBox1.Text != null && textBox2.Text != null)
if (textBox1.Text == "" && textBox2.Text == "" && textBox1.Text != null && textBox2.Text != null)
if (!string.IsNullOrWhiteSpace(textBox1.Text) && !string.IsNullOrWhiteSpace(textBox2.Text)
Copyright © 2026, NextGenUpdate.
All Rights Reserved.