Yes and Yes

It is best to match what PVC you already have on the plumbing, but you can use the PVC from HD. In the same section as the PVC pipe you will find the glue and primer.