P
Pascal
Hi,
I have several dropdowns in my aspx-page and read the values
after I press a save-button. from these dropdowns which are filled
from database via databind() I always get the value which was selected
at page load. changes are not recognized. the dropdowns which are filled
staticly in the html, I get the right selected value.
here is my code:
public void btnSave_Click(Object sender, EventArgs e) {
ArrayList arrOrder = new ArrayList();
arrOrder.Add(ddClient.SelectedValue); -> always value "1", filled via databind()
arrOrder.Add(ddCode.SelectedValue); -> OK, filled manually
arrOrder.Add(u.getSessionValue("UserID"));
arrOrder.Add(tbClientOrderNumber.Text);
arrOrder.Add(tbNewOrderNumber.Text);
arrOrder.Add(tbProductDescription.Text);
..
..
..
}
thanx for any help
pascal
I have several dropdowns in my aspx-page and read the values
after I press a save-button. from these dropdowns which are filled
from database via databind() I always get the value which was selected
at page load. changes are not recognized. the dropdowns which are filled
staticly in the html, I get the right selected value.
here is my code:
public void btnSave_Click(Object sender, EventArgs e) {
ArrayList arrOrder = new ArrayList();
arrOrder.Add(ddClient.SelectedValue); -> always value "1", filled via databind()
arrOrder.Add(ddCode.SelectedValue); -> OK, filled manually
arrOrder.Add(u.getSessionValue("UserID"));
arrOrder.Add(tbClientOrderNumber.Text);
arrOrder.Add(tbNewOrderNumber.Text);
arrOrder.Add(tbProductDescription.Text);
..
..
..
}
thanx for any help
pascal