Display the items in DropDownList
In my project i have used four number of dropdownlists in a single form. when im selecting an item from the 1st dropdownlist,the dropdownlist2 has to display the items that matches the selected item from dropdowmlist1. Please clear my doubt.,
Use the SelectedIndexChanged-event on the first dropdownlist. Everytime the user selects a different item in the dropdownlist, this event is fired. In the method body you can now react to the change and filter the items of the second dropdownlist to match the selected item of the first dropdownlist. You can either do that manually in a loop or use LINQ (Enumerable.Select).
first of all its called a combobox. Implement the OnSelectedItemChanged event from the combobox to fill the 2nd combobox linky
How to login external web site from asp.net web page? [closed]
ListPicker for WPF?
How to notify user of new message?
WPF Treeview Bindings
How do you iterate through JSON object in an ASP.NET MVC controller?
Explicitly specifying the TaskScheduler for an implicitly scheduled method
DataGridView setting row height doesn't work
Retrieving data from webservice & displaying it in a listbox
How to detect double click on window title in c#
How Can i display the output of SQL “PRINT” Command in C#?
How to get the (.lnk) shortcut filepath in a program which started by the shortcut?
Is it possible to change variable while I'm sending it?
Updating bindings on properties that are automatically calculated
Combo box SQL database connection and show
Design pattern for redirecting dependencies
MVC3 Pre-Loading many images in view