How long will seeds last?

I just recently used some 3 year old tomato, watermellon and carrot seeds for our cub scout troop and they all came up this week. So I know they will last at least that long!

A seed bank sounds like a great idea. Any websites or data on this out there?