I'm glad you posted. As a mother you should be concerned about your children's well being, especially if diabetes runs in the family [grandfather].
"He takes two shots of insulin per day. I would like to ask is this type 1 or type 2 diabetes?"
Normally this is type 2. Like Sally said, its from lifestyles but can also be passed from his parents.
"Which of this is heriteded?"
Without his medical records that is hard to say. Children often pick-up and continue the parents bad habits - poor food choices, over weight, lack of exercise, and so on. Other times they inherit the bad genes.
"Is there any risk that my future children can herited something like that from their grandfather?"
Is your boyfriend a diabetic? Has he been tested lately? How about you?
Your children?
"If the type of diabetes he has is not herited than it means that i dont have to worry alot about that?"
Anyone can get diabetes. It doesn't have to be passed down from the previous generation but can skip generations. Go get tested, the entire family. The only way you're going to know if anyone is normal, borderline or full diabetic is by testing at a doctors office. Here's a link on diabetes symptoms http://www.diabetes.org/diabetes-basics/symptoms/
this is likely type 2, which is lifestyle related.
predisposition to diabetes is hereditary, but with right and healthy lifestlyle is largely preventable.