J
Jack
Hello,
I have a dropdownlist in my aspx page:
<aspropDownList ID="DDLProjects" runat="server"><asp:ListItem Text
="TEST9" Value ="TEST9"/></aspropDownList>
Then in my Page_Load I have:
Dim newListItem1 As New System.Web.UI.WebControls.ListItem()
newListItem1.Text = "TEST2"
newListItem1.Value = "TEST2"
DDLProjects.Items.Add(newListItem1)
DDLProjects.Items.Add(New ListItem("Item 1", "1"))
DDLProjects.Items.Add(New ListItem("T1", "T2"))
The Only thing I can get in the drop down is the TEST9 witch is done the the
ASPX page and not in the Code.
Any Help would be great!!!
Thanks,
Jack
I have a dropdownlist in my aspx page:
<aspropDownList ID="DDLProjects" runat="server"><asp:ListItem Text
="TEST9" Value ="TEST9"/></aspropDownList>
Then in my Page_Load I have:
Dim newListItem1 As New System.Web.UI.WebControls.ListItem()
newListItem1.Text = "TEST2"
newListItem1.Value = "TEST2"
DDLProjects.Items.Add(newListItem1)
DDLProjects.Items.Add(New ListItem("Item 1", "1"))
DDLProjects.Items.Add(New ListItem("T1", "T2"))
The Only thing I can get in the drop down is the TEST9 witch is done the the
ASPX page and not in the Code.
Any Help would be great!!!
Thanks,
Jack