Use SqlDataSource SelectCommand xml element instead xml attribute
Use SqlDataSource SelectCommand xml element instead xml attribute - it allows to write complex sql requests in any tool and just put it into xml without changes and have it well-formatted and readable: