G
Guest
I have a table in SQL server that has a column of type UniqueIdentifier. I
use a DataAdapter to fill a typed DataSet with rows from the table.
(Interestingly, when I look at the typed dataset, the datatype of this column
has magically changed to STRING). Anyway, I need to use this column value in
a DataView.RowFilter. However, when I try to create the
RowFilter="ColumnName='" & value & "'" I get a runtime error that says I
there's no operator that will contatenate (&) a STRING and a SYSYEM.GUID.
Apparently, when I fill the typed dataset, the datatype changes to
SYSTEM.GUID (I assume the same as UniqueIdentifier), even though the datatype
in the typed dataset says STRING.
So, how do I use a SYSTEM.GUID in a RowFilter when there doesn't seem to be
a way to convert it into a string?
use a DataAdapter to fill a typed DataSet with rows from the table.
(Interestingly, when I look at the typed dataset, the datatype of this column
has magically changed to STRING). Anyway, I need to use this column value in
a DataView.RowFilter. However, when I try to create the
RowFilter="ColumnName='" & value & "'" I get a runtime error that says I
there's no operator that will contatenate (&) a STRING and a SYSYEM.GUID.
Apparently, when I fill the typed dataset, the datatype changes to
SYSTEM.GUID (I assume the same as UniqueIdentifier), even though the datatype
in the typed dataset says STRING.
So, how do I use a SYSTEM.GUID in a RowFilter when there doesn't seem to be
a way to convert it into a string?