Quote:
How to check All text boxes are empty or Not
string EmptyTextBoxes = string.Join(Environment.NewLine,
(
from T in this.Controls.OfType<textbox>()
where string.IsNullOrWhiteSpace(T.Text)
select T.Name
).ToArray()
);
if (EmptyTextBoxes.Length > 0)
{
MessageBox.Show("Please fill in\n" + EmptyTextBoxes);
}