The best way to write the underlined part of the sentence is:
A. collecting blood samples
So the revised sentence would read: "When the lead crime scene investigator of the city's police department gave a public demonstration, everyone watched carefully as he showed us how to dust for fingerprints and collecting blood samples."