(unfortunately only up to 20)
Here are some other possibilities. This stuff is hard to shop for, I've found, due to the very large number of more or less similar products. If you're browsing the Digikey site a good place to start is here:
> Product Index
- > Connectors, Interconnects
You'll see there are half a dozen pin styles that could be creatively adapted to our purpose. Below I've shown two of the most obvious choices -- the so-called "fork" and "post" style pins. AFAICT the prices and availability are not especially good.
Clearly, the "post" style of pin will work for through-hole mounting. But the "fork" style might actually be better for surface mount. (First you'd manually put a 90-degree bend in the two tines of the fork. For best results build a little jig.) Hmmm, if you bent (or cut) only one tine then maybe the result would work well for through-hole...
Other creative solutions exist, as I said. The Digikey link shows some other variations that seemingly might suit surface-mount.
-- Jeff