is related to Dropdownlist control i.e. it's Dropdownlist property.We provide Database Table column to it to display as a Values in Dropdownlist control when it is populated.
When we select any items from Dropdownlist,then we get selected item value.Generally it's primery key column values.
ddl_employee.DataValueField = "employee_id";
Here,employee_id is my Column Name.
Asked In: Many Interviews |