I have used Liquid Fence for deer for the past 5 yrs. It works great lasts forever, but beware, it stinks. Most higher end stores carry it, not Wal-Mart or Lowe's.
To keep these pesky critters out of your garden use liquid fence from your garden center.