•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 456,234 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,762 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 2333 | Replies: 3
![]() |
•
•
Join Date: Nov 2007
Location: � Jogja �
Posts: 2,590
Reputation:
Rep Power: 11
Solved Threads: 236
•
•
Join Date: Nov 2007
Location: High Point, NC
Posts: 37
Reputation:
Rep Power: 1
Solved Threads: 4
Is this what you are looking for?
'declare the dataset
Dim ds As New DataSet
'bind to textbox
Me.textbox1.DataBindings.Add(New Binding("Text", ds, "Tablename.ColumnName"))
'bind combo
me.ComboBox1.DataBindings.Add(new Binding("Text", ds, "tablename.columnname"))
'bind the masked text
Me.MaskedTextBox1.DataBindings.Add(New Binding("Text", ds, "tablename.columnname"))
'declare the dataset
Dim ds As New DataSet
'bind to textbox
Me.textbox1.DataBindings.Add(New Binding("Text", ds, "Tablename.ColumnName"))
'bind combo
me.ComboBox1.DataBindings.Add(new Binding("Text", ds, "tablename.columnname"))
'bind the masked text
Me.MaskedTextBox1.DataBindings.Add(New Binding("Text", ds, "tablename.columnname"))
![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Crystal Report & Code based Dataset (VB.NET)
- add nodes and subnodes to a treeview from sql database by coding in asp.net 2.0 (ASP.NET)
- It's all about datagrid (VB.NET)
- Datagrid to draw a table (C#)
- database question (C#)
- IListSource does not contain any data sources (ASP.NET)
- I need advices for the Pseudocode (JavaScript / DHTML / AJAX)
- How do you do a simple POS in VB .net (VB.NET)
Other Threads in the VB.NET Forum
- Previous Thread: Position selected row in DataGridView
- Next Thread: Display Data in ComboBox



Linear Mode