Here is my edititemtemplate
<EditItemTemplate>
<font class="Std" color="#006600">
<asp
ropDownList id="edtState" width="30px" runat="server" />
</font>
</EditItemTemplate>
I want to be able to dynamicaaly fill this dropdown with a list of US States; when somebody clicks the "Edit" link in an EditCommandColumn in the same DataGrid object.
I have already created a function for
edtState.Items.Add(New ListItem("Alabama","AL"
); but this doesn't work.
How can I do this?
<EditItemTemplate>
<font class="Std" color="#006600">
<asp
</font>
</EditItemTemplate>
I want to be able to dynamicaaly fill this dropdown with a list of US States; when somebody clicks the "Edit" link in an EditCommandColumn in the same DataGrid object.
I have already created a function for
edtState.Items.Add(New ListItem("Alabama","AL"
How can I do this?