Remove no children label, it was not showing up over the tablegridview. Instead, just change the existing lblInstructions text to "you have no children"

This commit is contained in:
kougyokugentou 2021-02-02 21:13:11 -08:00
parent 16b38c05ec
commit e9c5ae8c38
1 changed files with 2 additions and 2 deletions

View File

@ -40,9 +40,9 @@ namespace GreatHomeChildcare
}
//If the guardian has no children, show a message.
if (children == null)
if (children.Count == 0)
{
lblNoChildren.Visible = true;
lblInstructions.Text = "You don\'t have any children. Please have an admin assign your children in the program.";
return;
}