Hello there,
I got a bit of a problem, i just started with asp and i hope some one can help me a bit.
c# code:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
DropDownListCountry.Items.Add(new ListItem("Te koop", "Prijs"));
DropDownListCountry.Items.Add(new ListItem("Gevraagd", "bla"));
DropDownListCountry.Items.Add(new ListItem("Overige", "Bla"));
}
}
protected void DropDownListCountry_SelectedIndexChanged(object sender, EventArgs e)
{
LabelCountry.Text = DropDownListCountry.SelectedItem.Value;
}
protected void submit_Click(object sender, EventArgs e)
{
}
HTML Code:
<div class="aanmaken">
...
Go to the complete details ...