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:
parent
16b38c05ec
commit
e9c5ae8c38
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue