binding detailsview via codebehind

Joined
Aug 25, 2009
Messages
1
Reaction score
0
Hi,

I have a dropdown list on a page that is bound a field (text:FirstName, value:EmployeeID) from a query I make on my codebehind page.
I would like to add a detailsview to the page, and define a different query to populate the dv with the remaining fields in the table (LastName, EmployeeID, Location), based on the selectedvalue in the dropdown list.
Currently, when I run my website, I only see the dropdown list that has been populated. I cannot see the detailsview.
I am familiar with the common method of databinding, however, I would like to bind the detailsview from the code behind.

Please help!

Thank you for your assistance.
 

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

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top