Combo Box

  • Thread starter Thread starter Kay
  • Start date Start date
K

Kay

Hi all,

Just a quick question, I want to put a blank item on top of all the item in
a data binded combo box, so I've add a row in the data table, however the
blank row is always appear at the bottom of the combo box, how do I move it
up to the top? And if possible, doesn't change the order of the other item?

Thanks

Kay
 
Kay,

You can add an extra datacolumn to your datatable, in which you set a count.
If you use than that as sort for you defaultview/dataview in descending row
order. Than you can in my opinon achieve what you want.

I hope this helps,

Cor
 
try this....in the items collection in the designer put a blank space. Then
when you databind it should fill in under the space with the space at the
top. However, Since your list is databound I really dont know how effective
that will be because of what the data in your table is tied to. Does that
make sense?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top