How many grams of NaCl are neeeded to make 100ml of a 2M solution of NaCl

How many moles do you need? That is M x L = moles.

Then convert moles to grams.
moles = grams/molar mass