accomodation wise,depends what your after. either stay anywhere in the complete chaos of the red light area. or if possible find somewhere to stay around the 'pijp area' or the 'rozengracht' handy for getting anywhere and usually decent accomodation in these areas. check the NH hotels out,they might have some good deals on and the standard is good.
best bet is to get the train from the airport into amsterdam centraal,takes about 20 minutes.
afterparties wise....good luck with this. i couldnt find anywhere the last time i went and it wasnt for trying either. Club 11 or Studio 80 will be your best bets though for techno. If theres nothing going on here check out twsted cafe,they play minimal and techno till late...small cafe bar,cheap ale and smoke away to your hearts content.