Ramada Inn in amherst (like 10 mins away from the univ) was 74$ with ub discount for 2 queen beds, they provided free shuttles from and to the airport and from and to the dental school (you just have to ask them when you book). they also give you a complimentary breakfast and free wireless internet..
Hostel Name: HI - Buffalo Niagara Hostel
Address: 667 Main Street, 14203,, Buffalo, NY, USA
Phone: 1 (716) 852-5222
It's like, 35 dollars a day, and it's hotel quality. Best thing, the train running to UB is right outside. You'll be hard pressed to find roomies for a hotel. Reason being Buffalo, NY doesn't really have people there.