c#


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

Related Links

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.]

Categories

HOME
actionscript-3
qemu
wifi
liquibase
nagios
data-modeling
lithium
kendo-asp.net-mvc
meson-build
genexus
webpack-dev-server
core-data
vichuploaderbundle
email-attachments
hdf5
facebook-marketing-api
css-float
android-wifi
angular2-pipe
opengraph
advertising
waterfall
android-xml
pixels
datanucleus
multiple-inheritance
boosting
angular-schema-form
azure-table-storage
semantic-ui-react
jql
loopback
jcr
microstrategy
zimbra
maven-2
rtsp
taiga
infovis
g77
skype-bots
beanshell
activesupport
try-catch-finally
blackberry
codesniffer
trusted-computing
spring-cloud-aws
ios-keyboard-extension
sharing
qudpsocket
toggleclass
magick.net
hotkeys
database-administration
razorengine
paypal-subscriptions
dcast
music-player
fadein
wiql
maven-antrun-plugin
recode
sdkman
adempiere
eaaccessory
photogrammetry
tinymce-plugins
mergecursor
touch-typing
fiware-health
jsonmodel
pnunit
selenium-grid2
telerik-appbuilder
email-headers
maven-javadoc-plugin
ardor3d
scidb
infomaker
static-class
azure-pack
usersettings
symbian3
pageload
mmo
expresso-store
systrace
jqueryi-ui-buttonset
openwrap
service-layer
hwnd
n2
jquery-attributes
uccapi
manuals
atmega16
paperless

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App