Solved

Listbox mixed data sources

Posted on 2009-05-06
2
156 Views
Last Modified: 2013-12-17
I have a dropdown list which I am binding a dataset that holds sql query results.

I would also like to hardcode one extra item to the drop downlist.

Is it possible to mix data sources with a dropdown list?


0
Comment
Question by:Mr_Shaw
2 Comments
 
LVL 15

Accepted Solution

by:
mohan_sekar earned 500 total points
ID: 24317271
Yes, Set 'AppendDataBoundItems" to true. Then, in the code behind, add your "item". You will now see your item + the items from the database
0
 

Author Closing Comment

by:Mr_Shaw
ID: 31578577
thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.net Have sliders change in order 2 22
What namespace do I need to import? 2 25
https://github.com/willowsystems/jSignature 11 46
Alert on Server memory 2 19
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now