<p>I want to add the current month, and the previous two months to a prompt, for a user to select. </p>

<p>e.g. if this month is <code>2008 Nov</code>, <code>ddlbox</code> should show the following:</p>

<pre><code>112008
102008
092008
</code></pre>

<p>How can I do this? </p>

```
```
<asp:DropDownList ID="DropDownList1" runat="server">
</asp:DropDownList>

for (int i = 0; i < 3; i++)
{
    ListItem item = new ListItem(string.Format("{0: MM/yyyy}", DateTime.Now.AddMonths(-i)));
    DropDownList1.Items.Add(item);
}
```
```
Try this :)