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
InsertCommand.Parameters.Add size parameter for datetime
MVC, Saving Data into 2 or more Related models from a single Form / View .?
Simple way to create a command
Audio playing stopped when i resize a WaveForm to form size
C# WebApi2 action not found
Filter HTML Json based grid by Dropdown
WPF Event to Command add to control from Codebehind
Serialize Dotnet Collection without Root Element?
how to return json error msg in asp.net web api?
how to take the part of a string
What is the behavior when throwing an exception without setting out parameter?
How to cheat the windows Browse dialog?
Design assistance: Calculation of time with expression parsed at runtime
Deserialize json data without using Json.net
How to define your own Windows 8 App Theme?
Lightweight Active Directory + Asp.net MVC 5 [Unable to establish secure connection with the server using SSL.]