Hello:
I have the following code:
Dim lsFilter As String = Nothing
Select Case rblStatus.Selec tedItem.Value
Case "S"
lsFilter = String.Concat(" D_STAT_CD_C = '", "N'")
Case "R"
lsFilter = String.Concat(" D_STAT_CD_C <> '", "N'")
End Select
If Not lsFilter = Nothing Then
dsMain.Tables(0 ).Select(lsFilt er)
End If
When the value is 'R', it picks up the right filter expression, "D_STAT_CD_ C
<> '", "N'", but the Rowcount of dsMain.Tables(0 ) does not change.
What am I doing wrong?
Venki