I am trying to figure out how to check if my SqlDataReader is null or has no rows (meaning the reservation does not exist) and then display a messagebox. For so
SqlDataReader
The HasRows property may help you.
Property Value Type: System.Boolean true if the SqlDataReader contains one or more rows; otherwise false.
Property Value
Type: System.Boolean true if the SqlDataReader contains one or more rows; otherwise false.