Solved

Listbox mixed data sources

Posted on 2009-05-06
2
154 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
Comment Utility
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
Comment Utility
thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

16 Experts available now in Live!

Get 1:1 Help Now