How to Populate Textbox value to Textbox from unrelated table in VB.net ?

0
975

How to Populate Textbox value to Textbox from unrelated table in VB.net ?

By using a DataSet and a DataTable object to organize your data from the database. So that DataTable may have many rows that were returned by the SQL query.

TextboxA and TextboxB are Windows Form TextBox objects placed on the form. Assume that tblWorkorder and tblChecklists are each a DataTable object that are assigned to the DataSet that hold the data from the database.

Because the two TextBox’s are on two different forms we need to save a reference to the second form so that when you want access to the form2 controls you use its reference and the control and property you want as shown below.

NO COMMENTS

LEAVE A REPLY