Hi,
I have a control, a basic drop down list. I have set the default value of the control when the form loads ( basically the selectedindex to 5 or something). Now when I add the new row to the dataset the default value is not pushed into the dataset. If I change the selectedindex using mouse, only then does it push the value in.
What can be done to rectify this.
Thanks.
AC

Control Default Value not pushed to DataSet
truepantera
Is the ComboBox (I have to assume ComboBox, what other "basic drop down list" would you be using ) in you DataGrid (that is, do you have a combobox column in the grid) or is it a seperate control outside the grid If it is the latter, how are you getting the value of the selected item into the new row in the datagrid
jocamp3
once a control is bound, when you do addnew, it not insert anything into that column until a change in the control happens (like user selecting item). If you have defaults, it's best to setup those defaults in the actual datasource.