开发者

Search through Drop down list in asp.net

I am making a page in asp.net using C# and my page consists of two drop down list one for state and one for subjects, both the data are coming from database, and there is a third database table for storing user details and the third table consists of name class and subject

Now my problem is that on click of search button 开发者_如何学编程i want to search the users table and return the value selected by person searching through drop down list on the master page and the result will be displayed on the next page

Please help as to what to do for search button, and what to write on second page on which i want to display the results.

Your help is badly needed

Thanks in advance.


This sounds like a homework assignment... Have you tried to solve this already on your own? What did you try, and what-if-any problems did you run into?

Here's one (of a thousand other) tutorials that will walk you through filtering a result page using a drop-down.

http://msdn.microsoft.com/en-us/library/aa581789.aspx

Good luck!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜