I have a Combobox Bound to a dataset, and a datagrid that is located on a control in the form i'm working on. If the combo Box is set to Enrolled and the datagrid is Empty, when I click save i want to exit the sub of that click event.

How do I check if there are any rows in a datagrid?



Further explanation:

The combobox is filled with status codes. The user should not be able to pick Enrolled if the datagrid is empty. The datagrid being bound to an employee table. Basically if the employer has no employees we cannot enroll them. Or the user should not be able to give them enrolled status..