How to add an item at DropDownList index 0 in dropdownlist add item at index 0
DropDownList is an web server control. we can add an item to dropdownlist but it will displayed it at the bottom of dropdownlist control. so we need to apply few techniques to add a new item at the top of dropdownlist.

dropdownlist items collection Insert() method allow us to insert new item at specified index position of dropdownlist items collection. if we insert the new item to dropdownlist items collection at index 0 then it will display the newly added item in dropdownlist top position.

the following c# example code demonstrate us how can we add an item to dropdownlist at index position 0 (zero) in an application.

<%@ Page Language="C#" AutoEventWireup="true"%>  
<!DOCTYPE html>
<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
        if (!Page.IsPostBack)
            ListItem li = new ListItem();
            li.Text = "Emperor Penguin";
            li.Value = "6";
            //this line add list item at list top (index 0) position
            DropDownList1.Items.Insert(0, li);
<html xmlns="">      
<head id="Head1" runat="server">      
    <title> dropdownlist add item at index 0</title>
    <form id="form1" runat="server">      
        <h2 style="color:MidnightBlue; font-style:italic;">      
   example - dropdownlist add item at index 0
        <hr width="550" align="left" color="Gainsboro" />      
        <br /><br />
            <asp:ListItem Text="Smew" Value="1"></asp:ListItem>
            <asp:ListItem Text="Common Merganser" Value="2"></asp:ListItem>
            <asp:ListItem Text="Emperor Penguin" Value="3"></asp:ListItem>
            <asp:ListItem Text="Ruddy Duck" Value="4"></asp:ListItem>
            <asp:ListItem Text="Musk Duck" Value="5"></asp:ListItem>
More examples