Carbohydrates come in simple and complex form. Complex carbs are generally ok (e.g. most vegetables). Simple carbs (e.g. white rice, corn chips, pretzels) are quickly converted into sugar which is problematic.
For a more in depth article on carbs and glucose try this page from the American Diabetes Association.