Good afternoon, the problem I have is this. There is a combobox in it data from dataset is loaded,
SqlDataAdapter sda = new SqlDataAdapter(type, con); DataSet ds = new DataSet(); con.Open(); sda.Fill(ds); con.Close(); cb_opf.DataSource = ds.Tables[0]; cb_opf.DisplayMember = "short"; cb_opf.ValueMember = "code"; On the form there is a field in which the user enters data and clicks the "Fill" button. The answer comes in json format in which there is a "code" field with values. Somehow you need to link the code field from the answer and the valueMember from the combobox so that the choice is made in the combobox.
json. So? And then what do you need to parsejsonand pull the value out of it by keykey? - Ev_Hypercb_opf.SelectedValue = code;? - Ev_Hyper