How to network at an academic conference as a PhD student

How to network at an academic conference: preparing from the programme, approaching people, questions after talks, posters, follow-up emails and grants.