you just create a simple loop:
for(int yearVal = 1900; yearVal <= 1987; yearVal++)
{
// cboYears is a ComboBox
cboYears.Items.Add(yearVal.ToString());
}
--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
"Rudy" <Ru**@discussions.microsoft.com> wrote in message
news:97**********************************@microsof t.com...
Hello all!
Have a quick question on drop down list. Need to make a year ddl, 1900 to
1987. Is there a quick way to do this. I'm not binding this, just loading
it in the items collection.
Thanks!!!
Rudy