AutoCompleteMode="Append">
Binding combo box text to text box
AutoCompleteMode="Append">
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Dnyaneshwar BabarRank #1,721 · 883 reputationPosted Oct 19, 2013, 4:34 AM EDT
You write your code at combobox selectedindexchanged event
as follows
first adapt.fill (dst,"stud")
if(dss.Tables["stud"].Rows.Count>0)
{ textBox1.Text=dss.Tables["stud"].Rows[0]["studno"].ToString(); }
or
use below site for reference
http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.selectedindexchanged.aspx[^]
Hope you help