DropDownList from database and extra field

  • Thread starter Piotrek \Alchemik\
  • Start date
P

Piotrek \Alchemik\

Hello,

i'm trying to create dropdownlist which will include not only fields
from database binding, but would have an extra one or two fields, which
could let me choose something different, i.e. all fields or anything else.
Maybe somebody know what i should be looking for?
Thanks in advance

Piotrek
 
M

Mark Rae

i'm trying to create dropdownlist which will include not only fields from
database binding, but would have an extra one or two fields, which could
let me choose something different, i.e. all fields or anything else.
Maybe somebody know what i should be looking for?
Thanks in advance

<DropDownListObject>.Items.Insert(0, new ListItem("", "0"));
 

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

Top