Hi All
I just cannot get this right basicly what Im trying to achieve: is I got dataset called "customer" (dataset_name) and it has a "NewCustomers" (table_name) and on this table i want my textbox: txtShipTo.text to be the same with txtCustAddress.text if the condition is true and it must do the same to all the fields that suit the condition.
Dim tbl as DataTable
Dim Clm as DataColumn
Tbl = Customer.Tables(“NewCustomer”)
For each clm In tbl.Columns
If txtCustName.text = txtCustTradingAs.text Then
txtShipTo.text = txtCustAddress.text
End if
Next
I just cannot get this right basicly what Im trying to achieve: is I got dataset called "customer" (dataset_name) and it has a "NewCustomers" (table_name) and on this table i want my textbox: txtShipTo.text to be the same with txtCustAddress.text if the condition is true and it must do the same to all the fields that suit the condition.
Dim tbl as DataTable
Dim Clm as DataColumn
Tbl = Customer.Tables(“NewCustomer”)
For each clm In tbl.Columns
If txtCustName.text = txtCustTradingAs.text Then
txtShipTo.text = txtCustAddress.text
End if
Next