R Rat Well-known member Joined Aug 2, 2005 Messages 72 Location Somewhere between 0 and 1 Programming Experience 1-3 Aug 11, 2005 #1 How do i bind a datasource to the textbox during runtime ?
JuggaloBrotha VB.NET Forum Moderator Staff member Joined Jun 3, 2004 Messages 4,530 Location Lansing, MI; USA Programming Experience 10+ Aug 12, 2005 #2 it's in this format: Control.DataBindings.Add("text", DataSource, "Field") txtCustomerName.DataBindings.Add("text", dsCustomers1, "CustomerTable") Upvote 0 Downvote
it's in this format: Control.DataBindings.Add("text", DataSource, "Field") txtCustomerName.DataBindings.Add("text", dsCustomers1, "CustomerTable")