Populating DropDownList
In asp.net, you can populate the DropDownList in many ways.
1. You can add the contents to the DropDownList using coding as
DropDownList1.Items.Add("Fruits");
DropDownList1.Items.Add("Apple");
DropDownList1.Items.Add("Orange");
2. You can go to the property of the DropDownList.
There is a property called Items. In that you can directly give the items you want to add.
3. You can also add items to the DropDownList using the datasource.
DropDownList1.DataSource =datasource1;
DropDownList1.DataBind();

if u Populating DropDownList dynamically.
Feet = CommonClass.BindHeight(); KeyValuePair in Feet)
LstBloodType = CommonClass.BindBloodGroup();
Using query get all the data than from the database than bind the data in a dropdownlist
Dictionary
foreach (KeyValuePair
{
string text = KeyValuePair.Value;
string value = KeyValuePair.Key;
ddlID.Items.Add(new ListItem(text, value));
}
CommonClass -- This is class where u get the data through Dictionary
or
//--Bind the Blood type
List
ddlID.DataSource = LstBloodType;
ddlID.DataBind();
CommonClass -- This is class where u get the data through list and BindBloodGroup is function inthis class for get the results.
Regards,
prakash