Answers for "set data binding for textbox dynamically vb"

VBA
0

set data binding for textbox dynamically vb

' Create two Binding objects for the first two TextBox 
    ' controls. The data-bound property for both controls 
    ' is the Text property. The data source is a DataSet 
    ' (ds). The data member is specified by a navigation 
    ' path in the form : TableName.ColumnName. 
    textBox1.DataBindings.Add _
       (New Binding("Text", ds, "customers.custName"))
    textBox2.DataBindings.Add _
       (New Binding("Text", ds, "customers.custID"))
Posted by: Guest on July-20-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language