I've got an iframe that I'd like to make dynamic. That is, I'd like to be able to change the contents of the iframe (which page it references) based on the actions of the user. Here's what my iframe looks like:

<iframe id="MyIframe" src="table.aspx" width="100%" scrolling="auto" frameborder="1">

Beside the iframe, I've got an ASP.NET dropdownlist and a button. The user selects an item from the dropdownlist and clicks the button. The contents of the iframe then change depending on what the user selected from the dropdownlist. I'm writing this in VB.NET, so I need something like the following:

Sub ButtonClick(Sender As Object, E As EventArgs)

If MyDropDownList.SelectedItems.Value = "Today" Then
Else If MyDropDownList.SelectedItems.Value = "Yesterday" Then
Else If MyDropDownList.SelectedItems.Value = "last week" Then
MyIframe.src="table.aspx?day=last week"
MyIframe.src="table.aspx?day=last month"
End If

End Sub

Generally speaking, is what I'm trying to do possible? How?