hi u can do as follows:
ddl.Items.Insert(0, "---Select Year---");
int index = 1;
for (int i = 2010; i > 1950; i--)
{
ddl.Items.Insert(index, new ListItem(i.ToString(), i.ToString()));
index++;
}
and dropdown is created as
<asp:dropdownlist id="ddl" runat="server" xmlns:asp="#unknown"></asp:dropdownlist>
[Modified: pre tags are your friend!]