Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

binding a combobox to a datagrid row 1

Status
Not open for further replies.

NovCoder

Programmer
Jun 3, 2005
8
0
0
US
Hi, I am trying to have a datagrid row(orderID) display whatever value is in the textbox(orderID)everytime the textbox(orderID) text changes via:

Private Sub txtOrderNum_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtOrderNum.TextChanged

Me.grdOrders.GetType.GetField("OrderID") = Me.txtOrderNum.Text


End Sub

This does not work, neither my previous methods. PLEASE HELP. THANK YOU.

...and I'm out. O-BOY.
 
Change the value of whatever the grid is bound to.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top