How do people get diabetes from eating too much sugar?

This might be a dumb question, but I've read diabetes can be a genetic disease and a lack of too little insulin. What exactly does eating too much sugar do to cause it, then?
Update: *Edit: I mean too little insulin, not a lack of too little insulin. That would in fact be very much insulin.
4 answers 4