As a side note, the commonly-available JB Weld has magnetic iron oxide as a filler. You don't want to use it if you don't want a magnetic material in your application. And using it to glue down super-magnets gets real interesting. On the other hand, it might work to glue the pole pieces of your made-from-scratch electromagnet together.
Once you add in the cost of the magnet wire for a total DIY approach, it actually might be more cost effective to BUY a couple of MOTs (a commonly-used acronym) from Ebay, but, as has been mentioned, you'd want the old-school type with some real heft to them. Microwaves that use a switching power supply won't work for this application. And if you can get 'em for free....a no-brainer there....