In the ObjectDataSource's Selected method, cast e.ReturnValue to whatever container/collection object you expect to return and test if it is empty or null.
eg:
if (((ArrayList)e.ReturnValue).Count == 0 || (ArrayList)e.ReturnValue == null)
{
lblNoOrders.Text = "There are 0 results returned.";
}