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

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

Categories

HOME
logging
sql-server-2014
virtual-machine
dynamic
watson-iot
download
webpack-dev-server
pyodbc
decoding
android-notifications
console-application
responsive
windows-phone
geography
descriptor
matlab-gui
inline-assembly
pumping-lemma
ppp
suitescript
deployment-descriptor
angular-schema-form
custom-fields
git-submodules
xlib
scene7
luhn
angularjs-resource
mootools
ponylang
sdl-2
gstreamer-1.0
multi-user
console.readline
client-server
armadillo
susy
togglebutton
jsfl
confluent
pyopenssl
openidm
nservicebus6
typewriter
opticalflow
wicketstuff
stripes
android-music-player
consolidation
virtualenvwrapper
konakart
mate-desktop
netlink
jde
3d-rendering
nonblocking
ios8-share-extension
recode
producer-consumer
event-tracking
sdkman
cloud-storage
esb-toolkit-2.1
genero
parseexception
perfect-scrollbar
dockerpy
qxorm
apache-pivot
os.walk
tigase
system.net
rails-migrations
pyalgotrade
debuggervisualizer
webshim
nop
tlbimp
caroufredsel
angularjs-select2
mandelbrot
stringstream
kademlia
symbian3
spawn
cloudmade
nx
invalidoperationexception
webpage-screenshot
ios6-maps
google-email-audit-api
commonsware
joomla1.7
nsundomanager
youtube.net-api
quazip
excellibrary
rollover
oaw
file-storage
pixel-bender
bootstrap-protocol
asp.net-1.1

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