If you have to, I suggest getting the best pants you can afford. I wear dress pants that are slim fit but have some stretch to them, making them infinitely more comfortable.
It sucks horribly. I am very into fashion and dressing up and buy nice clothes, but holy shit ties on a daily basis are the worst thing ever. And I don't even get to wear fun formal wear - I am stuck in conservative colors and such.
I am going back to school this Fall and am looking forward to dressing more casually day-to-day.