How to connect to black underground sprinker pipe
The black sprinkler pipe is probably HDPE and not PVC so you need a different connection method than with PVC. 

Your best bet is to check with a local sprinkler supply company that can give you the right option for local requirements.  Around here they use hose barbs and hose clamps but other places may require different connectors when transitioning from HDPE to PVC.