Advertisement
Advertisement
| 06.22.2008 at 11:22PM PDT, ID: 23506711 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: |
Dim tiu As DataTable = ds.Tables(tblname)
Dim dy As New dDataSet()
Dim Th As DataTable = dy.Tables("th")
Console.WriteLine("{0}", Me.ID.ToString)
Console.WriteLine("{0}", ds.Tables(tblname).TableName.ToString)
Dim thquery = From f In Th Where f.Field(Of String)("voc") = tiu.Rows(0).ToString Select New With {.v = f.Field(Of String)("voc"), .g = f.Field(Of String)("gP"), .s = f.Field(Of String)("subHead"), .ke = f.Field(Of String)("key")}
For Each f In thquery
Console.WriteLine("{0}", f.v)
myrowTh = _vDtTh.NewRow()
myrowTh(mycol) = f.v
myrowTh(mycolgP) = f.g
myrowTh(mycolsubHead) = f.s
myrowTh(mycolkey) = f.ke
_vDt.Rows.Add(myrowTh)
Next
|