Solved

How can I set the defaul value of a dropdown list to not be a row in the table that is bound to the control.

Posted on 2007-04-04
1
219 Views
Last Modified: 2010-04-15
I am using a tableadapter to fill a dataset and then binding that dataset to a dropdown control.

There are no empty values in the table but I would like for the dropdown list initial setting to not be any of the actual values returned in the table...

How can I set the defualt value of the dropdown list to not be a row in the table that is bound to the control.
0
Comment
Question by:Prysson
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
brwwiggins earned 500 total points
ID: 18850533
If you are using 2.0 you can set the AppendDataBoundItems property to true and then just add an item to the dropdownlist collection
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.

752 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