If they know, they will not give you as good a deal on the car because they can't count on making money on your loan. (If the dealer can match the loan you have found elsewhere, it is fine to get the loan from the dealer).
CNN: Cheaper cars -- but still ways to save