The beta cells may be another place where gene-environment interactions come into play, as suggested by the previously mentioned studies that link beta cell genes with type 2. "Only a fraction of people with insulin resistance go on to develop type 2 diabetes," says Shulman. If beta cells can produce enough insulin to overcome insulin resistance, a factor that may be genetically predetermined, then a person can stay free of diabetes. But if the beta cells don't have good genes propping them up, then diabetes is the more likely outcome in a person with substantial insulin resistance.
There is no single gene that “causes” type 1 diabetes. Instead, there are a large number of inherited factors that may increase an individual’s likelihood of developing diabetes. This is known as multifactorial inheritance. The genes implicated in the development of type 1 diabetes mellitus control the human leukocyte antigen (HLA) system. This system is involved in the complex process of identifying cells which are a normal part of the body, and distinguishing them from foreign cells, such as those of bacteria or viruses. In an autoimmune disease such as diabetes mellitus, this system makes a mistake in identifying the normal ‘self’ cells as ‘foreign’, and attacks the body.  
5. Signs and symptoms ofhyperglycemiaandhypoglycemia, and measures to take when they occur. (See accompanying table.) It is important for patients to become familiar with specific signs that are unique to themselves. Each person responds differently and may exhibit symptoms different from those experienced by others. It should be noted that the signs and symptoms may vary even within one individual. Thus it is vital that the person understand all reactions that could occur. When there is doubt, a simple blood glucose reading will determine the actions that should be taken.
In type 2 diabetes (adult onset diabetes), the pancreas makes insulin, but it either doesn't produce enough, or the insulin does not work properly. Nine out of 10 people with diabetes have type 2. This type occurs most often in people who are over 40 years old but can occur even in childhood if there are risk factors present. Type 2 diabetes may sometimes be controlled with a combination of diet, weight management and exercise. However, treatment also may include oral glucose-lowering medications (taken by mouth) or insulin injections (shots).
Large, population-based studies in China, Finland and USA have recently demonstrated the feasibility of preventing, or delaying, the onset of diabetes in overweight subjects with mild glucose intolerance (IGT). The studies suggest that even moderate reduction in weight and only half an hour of walking each day reduced the incidence of diabetes by more than one half.
Beta cells are vulnerable to more than just bad genes, which may explain the associations between type 2 diabetes and environmental factors that aren't related to how much fat a body has or where it is stored. Beta cells carry vitamin D receptors on their surface, and people with vitamin D deficiency are at increased risk for type 2. Plus, several studies have shown that people with higher levels of toxic substances in their blood—such as from the PCBs found in fish fat—are at increased risk of type 2 diabetes, though a cause-and-effect relationship hasn't been proved. (Toxic substances and vitamin D have also been implicated in type 1 diabetes, but the disease mechanism may be unrelated to what's going on in type 2.)
DKA usually follows increasing hyperglycemia and symptoms of osmotic diuresis. Users of insulin pumps, by virtue of absent reservoirs of subcutaneous insulin, may present with ketosis and more normal blood glucose levels. They are more likely to present with nausea, vomiting, and abdominal pain, symptoms similar to food poisoning. DKA may manifest as respiratory distress.

In this health topic, we explain the dangers of hyperglycemia, or high blood sugar levels, and diabetes. Hyperglycemia causes many of the warning signs of diabetes listed above. Hyperglycemia may be caused by skipping or forgetting your insulin or diabetes medicine, eating too many grams of carbs for the amount of insulin administered, simply eating too many grams of carbs in general, or from stress or infections.