G
Guest
If I have a dataset and ask:
If TypeOf ds.Tables(0).Columns(i).DataType Is System.String Then
this returns FALSE
Typing
ds.Tables(0).Columns(i).DataType.UnderlyingSystemType.ToString
or
ds.Tables(0).Columns(i).DataType.ToString
"System.String"
ds.Tables(0).Columns(i).DataType.Name
"String"
ds.Tables(0).Columns(i).DataType.fullName
"System.String"
How come the typeOf evaluates FALSE?
If TypeOf ds.Tables(0).Columns(i).DataType Is System.String Then
this returns FALSE
Typing
ds.Tables(0).Columns(i).DataType.UnderlyingSystemType.ToString
or
ds.Tables(0).Columns(i).DataType.ToString
"System.String"
ds.Tables(0).Columns(i).DataType.Name
"String"
ds.Tables(0).Columns(i).DataType.fullName
"System.String"
How come the typeOf evaluates FALSE?