Hello I have a question (again). I have a dropdownlist which gets information from a table. The information is an ID and a Name (I have hidden the key in the list so the only thing that shows is the name). The dropdownlist have a name (ddl_Names) and when I run a SQL query like:
INSERT INTO
(...,...) VALUES (...,ddl_Names)
It inserts a new record with the ID not the name!!, how do I get the name instead of the ID.
Example:
1 Tom
2 Benny
The SQL query inserts the value 1, I want it to insert Tom.
- Tom
INSERT INTO
It inserts a new record with the ID not the name!!, how do I get the name instead of the ID.
Example:
1 Tom
2 Benny
The SQL query inserts the value 1, I want it to insert Tom.
- Tom