Q:

Inserting null values into DB when nothing is selected in a DDL

I am inserting values from a dropdownlist into a DB. If nothing is selected I want to enter a null but if nothing is selected z-SELECT- this option not inserted into the DB. 
So how to enter null values.

A:

You can create one more option in select with value NULL.
<select>
 <option value="NULL">-SELECT-</option>
</select>

