Dropdown List with Parameters

T

TJHerman

I have a dropdown list within a Formview on a web form (using ASP.NET, vb)
that uses parameters to filter the list that is displayed (After a client
name is chosen in another dropdown list, this dropdown list filters the
contact names based on the company ID).

When I try to bind this dropdown list to the value that I want to store, I
get an error saying that it must be a data-bound control -- which it is. If I
don't explicitly bind the dropdown list and only have the datavaluefield
selected, the value is not included on an insert. If I take off the
parameters, it stores the value fine.

Can I not store/insert values with a dropdown list that uses parameters?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,816
Latest member
SapanaCarpetStudio

Latest Threads

Top