Author: marksa1458 | Posted on: 10/13/2008 1:28:58 PM | Views : 268

I am trying to pass the "text" value of a Ajax Cascading Drop Down box to a SQL Datasource.  When I bind the dropdown to the appropriate field and insert the record, the "ID" field is populated instead of the "text".

 Example

Car Name is BMW / Record ID is 1

Car Name is Ford / Record ID is 2

The 1 or 2 will pass to the database but not the BMW or Ford. Is there anyway to do this?

 The dropdown lives in a gridview.

Code is:
<asp:DropDownList ID="ddlCategorys" runat="server" Go to the complete details ...