• pwalter83 (1/28/2013)


    Hello,

    I am new to web application designing and using .net (MS Visual Studio 2010) to design an application.

    The issue I have is to display information on a table based upon the 2 values selected by the user in the drop down lists. When the user presses the Find button, the results should be displayed in the form of a table from a table.

    Could someone please tell what component (table or ???) I need to select from the list and what code would need to be written to associate the 'Find' button to the table.

    Thanks inadvance for your help. Please find the screenshot for the application attached.

    Thanks,

    Paul

    I don't quite understand your question here. You have two comboboxes. I assume you want to run a query that is something like "select Columns from MyTable where Col1 = Combobox 1 and Col2 - Combobox 2"?

    I don't understand what you mean about associating the Find button to a table. The button will fire a click event. That click event will do something based on the values in your comboboxes.

    If you can try to explain what your question/confusion is I can try to help.

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/