V
Vanny
I'm really new to vb.net. What I like to know is what would be the code to
read the definition of table or view. Here is the piece of code in VB6 that
try to find a column name called "year" in a view. How to write this in
VB.net?
For Each fldField In gdbOes.TableDefs(viewname)).Fields
strFieldName = fldField.Name
If strFieldName = "year" Then
blnyearFind = True
Exit For
End If
Next
I use odbc connection in vb6 as well as in vb.net. Above, the connection
name is gdbOes.
Thanks in advance for your help
Vanny
read the definition of table or view. Here is the piece of code in VB6 that
try to find a column name called "year" in a view. How to write this in
VB.net?
For Each fldField In gdbOes.TableDefs(viewname)).Fields
strFieldName = fldField.Name
If strFieldName = "year" Then
blnyearFind = True
Exit For
End If
Next
I use odbc connection in vb6 as well as in vb.net. Above, the connection
name is gdbOes.
Thanks in advance for your help
Vanny