Dropdownlist
C#
2
Posts
2
Posters
0
Views
1
Watching
-
How do I populate my dropdownlist with data from SQL?
-
How do I populate my dropdownlist with data from SQL?
It has properties to tell it which column to use for the value and which to display. Set those and set the datasource to be your data from the DB. Call DataBind if this is ASP.NET
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )