This question is locked. New answers and comments are not allowed.
Hello.
I have a following problem with the combobox:
First I initialize my combobbox: Value column is a numeric field (
When I retrieve data I need to populate the Broker:
after this line in debugger
Please, help me to set this value. The same story happened with other fields ..
Thank you ,
Victoria.
I have a following problem with the combobox:
First I initialize my combobbox: Value column is a numeric field (
Int64
) , Display column is a Text field: ddb_Broker.ValueMember = dtBrokerList.Columns[0].ColumnName;
ddb_Broker.DisplayMember = dtBrokerList.Columns[1].ColumnName;
ddb_Broker.DataSource = dtBrokerList.DefaultView;
ddb_Broker.SelectedItem = null;
When I retrieve data I need to populate the Broker:
ddb_Broker.SelectedValue = Convert.ToInt64(gl_dtProgram.Rows[0]["in_broker"]);
ddb_Broker.SelectedValue
= null ..... ? WHY ? Please, help me to set this value. The same story happened with other fields ..
Thank you ,
Victoria.