Here's an expert answer to that question from MedHelp.org and the Sugar Sense app. You can find this in the app by clicking the menu bar in the upper left and selecting Health Guide, then navigating to the Expert Answers section.
http://www.medhelp.org/diabetes/articles/Will-My-Baby-Inherit-Diabetes/1744
Both type 1 and type 2 diabetes have genetic links. there is no certainty.
You dont say what type of diabetes your parents have.