Dropdown to Trigger Custom Query from Database

  • Thread starter Anthony Bollinger
  • Start date
A

Anthony Bollinger

I know, at least in principle, how to put all of the code on one page,
reference the text/value of a drop-down control and create a custom query.
However, I am using the code-behind model where I am setting the DataSource
of my DataList to a PagedDataSource object so I can do data paging. I am
totally stuck on how to generate the custom query using parameters. First,
how do I reference the value of the control "behind the page". The second
problem is probably more for me, how to write a custom query for the
PagedDataSource, but both issues are related in my mind.

Thanks for any suggestions,
Tony
 

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,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top