hi frnds ,
i have a combobox containing countries name and their codes like INDIA:CNT001
then i have a textbox that store the code of country i.e CNT001(fetching from database)
Now i want to match that code with the combobox code so that the combobox is set to that item when i click a button.
i m using vb.net and sql server as database.
sidyusuf
0
Light Poster
Recommended Answers
Jump to PostGoodmorning, this is very simple, you have only to add a Data BindingSource, and a Data BindingNavigator, connect them, and try it... if it doesn't worked then post and i will find one other solution. Remember to connect the combobox and textbox with Data BindingSource
Jump to Postoke..
so go to the Toolbox Panel and add Binding Source in DATA Collapsible Panel, then go to Proprty Panel and modify in Data the property:
DataSource: None
click on that and click on "Add Project Data Source..."
then you have many option, click next, next, New connection, Browse, *Load …
All 5 Replies
NewUserVB.Net
0
Light Poster
sidyusuf
0
Light Poster
NewUserVB.Net
0
Light Poster
sidyusuf
0
Light Poster
NewUserVB.Net
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.