Click here to Skip to main content
16,021,905 members

Comments by raghurocks (Top 1 by date)

raghurocks 29-Nov-12 7:18am View    
then u can use for loop...like the below...put this code in page_load event...hope this helps


if (!Page.IsPostBack)
{
for (int i = 0; i < 24; i++)
{
ddlhrs.Items.Add((i + 1).ToString());
}
}