Hi all :)
I'm using VB 2008 and VB.NET
I have a database data. Each column namely as name, age and hobby. For 1 person have more than one hobby. Each time user key in the name, it will directly display their age and hobby. So, I need to loop through each item in the dataset.table.row and wondering how to do this.
Dim ds As DataSet Dim row As DataRow If ds.Tables.Count > 0 Then If ds.Tables(0).Rows.Count > 0 Then For Each row In ds.Tables(0).Rows Next ???
Can someone help me to teach me to make this loop or give some suggestion to write this loop?
Thank you in advance :)