bind Day (1-31) to dropdown programmatically and 0's to day < 10?
<p>I have the current method in a helper file to bind monthly days to a dropdown and I wonder how I should modify it to add a leading 0 to 1-9?</p>

<pre><code>public DropDownList PopulateDay(DropDownList ddlControlDay)
{
    for (int i = 0; i &lt;= 31; i = i + 1)
        ddlControlDay.Items.Add(i.ToString("D2"));
        return ddlControlDay;
}
</code></pre>

<p>I could convert to string, check length/modify and parse to int but is there a better way?</p>

<p>Thanks in advance.</p>
