i am trying to create a search option, the user inputs the product name and i want to performa search to return two tables in the dbase. This is all okay.

when displaying the found data, come will be in textboxes, comboboxes and also a datagrid. Do i need to assign each column individually eg:


txt1.Text = Product Details.Lname
combo1.Text = ProductDetails.Town

and in the datagrid
datagrid.column(0) = ProductDetails.Salary

can i do it lik this? is there a similar way to do it???