What is the most efficient way to create a search control with Datalist results in Site.Master and Default Content page

I've included a mock-up and a screen shot of what the search functionality looks like thus far and the default and Site.Master files along with code-behind.  I've run into a wall as with the search input in the site.master i'm not sure why the search input is not identifiable in the site.Master code-behind and if this approach/architecture is the most ideal.  as usual i'm up against time constraints so i was really looking to create the simple search textbox/input with Datalist control and set datasource up within the datalist.  But with the proposed mockup layout i have to create the datasourcce in the codebehind along with sorting options in the dropdown that have to be customized and I've been trying to see (testing out different code tactics) how to pass a datatable or dataset for each sortby "if" condition (currently commented out) to a list (where i can easily sort) and assign it to the datasource.  The other option was to create a user control search textbox,  a user control datalist control yet i still run into the same issue of having to pass resultset/dataset or dataTable to a list and assign to the user control datalist if that's even possible.  I"ve attached what I've done thus far.  Your help is greatly appreciated.
Default.aspx
Default.aspx.cs
Site.master
Site.Master.cs
DLS-HomePage-Nov28.png
twinlsDeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CamilliaCommented:
I didn't look at your code but can you use a stored procedure to do your search and then bring back the resultset?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
twinlsDeveloperAuthor Commented:
The question has not been answered.  Im looking for suggedtion on how pattern architect such a solution.
0
CamilliaCommented:
got an email to close this question
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.