AutoCompleteMode="Append">
binding combo box text to text box
AutoCompleteMode="Append">
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dnyaneshwar BabarPosted Oct 19, 2013, 8:34 AM
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