M
Miro
I am looping through a table trying to set a system.dbnull.value to be a ""
or whatever the equivilent of "" to the column type is...
'If statement above realizing the
myrow(colno-1) is a system.dbnull.value
Dim bla As Type = myCol.DataType
myrow(ColNo - 1) = CType("", bla)
that however does not like the "bla" in the ctype code.
How do you change the value of a column to a 'blank' / 0 / empty value of
the proper date type?
Thanks,
Miro
or whatever the equivilent of "" to the column type is...
'If statement above realizing the
myrow(colno-1) is a system.dbnull.value
Dim bla As Type = myCol.DataType
myrow(ColNo - 1) = CType("", bla)
that however does not like the "bla" in the ctype code.
How do you change the value of a column to a 'blank' / 0 / empty value of
the proper date type?
Thanks,
Miro