Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Listbox mixed data sources

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
Mr_Shaw
Asked:
Mr_Shaw
1 Solution
 
mohan_sekarCommented:
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
 
Mr_ShawAuthor Commented:
thanks
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now