| | |
ComboBox bind data problem
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2006
Posts: 7
Reputation:
Solved Threads: 0
Name: |textbox| ' data bind from table 1
Type: |ComboBox| 'datasource is from table 2 but databind is from
table 1
above is 1 part from my form. i doing add, update, and delete data to the form. after i add data i will close the form, if user going to update the data they have to key in ID then name and type will get data by bind menthod...
the problem i fetch now is... i get the data source from table 2 for user to update... but the orginal data add by user cannot show correctly in the form...it will always display the 1st item in the combobox that from datasource...
example...
type datasource contain...
1. aaa
2. bbb
3. ccc
4.....
....
but that say
ID: 001
name : ABC
type : ccc
when i find data to update by key in 001
inside the form
name textbox is ABC and
tyep ComboBox should be ccc...
but i always get aaa....means the 1st item from datasource...
how i solve this...
thanks
Type: |ComboBox| 'datasource is from table 2 but databind is from
table 1
above is 1 part from my form. i doing add, update, and delete data to the form. after i add data i will close the form, if user going to update the data they have to key in ID then name and type will get data by bind menthod...
the problem i fetch now is... i get the data source from table 2 for user to update... but the orginal data add by user cannot show correctly in the form...it will always display the 1st item in the combobox that from datasource...
example...
type datasource contain...
1. aaa
2. bbb
3. ccc
4.....
....
but that say
ID: 001
name : ABC
type : ccc
when i find data to update by key in 001
inside the form
name textbox is ABC and
tyep ComboBox should be ccc...
but i always get aaa....means the 1st item from datasource...
how i solve this...
thanks
![]() |
Similar Threads
- Winsock Multi-Client Servers (C++)
- Bind data to JTable (Java)
- converting and sending data problem (C#)
- ASP.Net VB Page to update a users profile not updating. (MS SQL)
- Visual studio - combobox with data - how? (Visual Basic 4 / 5 / 6)
- SqlDataAdapter bind to a listbox (ASP.NET)
- Urgent Pls Help: My codes are in errors! (C++)
- Urgent: I need Help in c++.net! (ASP.NET)
- My yahoo client. Not receiving data in real time :(( Just need a bit of advice (Perl)
Other Threads in the VB.NET Forum
- Previous Thread: How to give 2 Conditions in an SQL Query
- Next Thread: .Net and COM executables
| Thread Tools | Search this Thread |
.net .net2008 2008 access account advanced application array basic beginner browser button buttons center click code combo cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic excel exists fade filter forms generatetags gridview html images input insert intel internet listview map mobile module monitor msaccess net number objects open panel passingparameters pdf picturebox picturebox2 port position print printing problem regex right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey table temperature textbox timer timespan transparency txttoxmlconverter update user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





