G
Guest
Hi all,
I'm assigning my RowFilter like:
Dim AlbumView As New DataView(AlbumDataSet.Tables("album"), "owner = " &
User.UserId, Nothing, DataViewRowState.Unchanged)
However, this works:
Dim AlbumView As New DataView(AlbumDataSet.Tables("album"))
AlbumView.RowFilter = "owner = " & User.UserId
So my question is ... why doesn't setting the RowFilter in the constructor
work?
I'm assigning my RowFilter like:
Dim AlbumView As New DataView(AlbumDataSet.Tables("album"), "owner = " &
User.UserId, Nothing, DataViewRowState.Unchanged)
However, this works:
Dim AlbumView As New DataView(AlbumDataSet.Tables("album"))
AlbumView.RowFilter = "owner = " & User.UserId
So my question is ... why doesn't setting the RowFilter in the constructor
work?