I would really appreciate if there is any reference to show in how i could transfer value from database into textbox. This my code for combobox, but instead of combobox i would like in textbox
OleDbDataAdapter oda = new OleDbDataAdapter("select subject_name from subjecti where subject_name = '" + comboBoxSubjectName.Text + "'", con);
DataTable dt = new DataTable();
oda.Fill(dt);
comboBoxSubjectCodeUpdate.DataSource = dt;
comboBoxSubjectCodeUpdate.DisplayMember = "subject_name";