Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 1de2a4f

Browse files
Cronanstephentoub
authored andcommitted
Changed ' to # in RowFilter (#25482)
1 parent 97292b1 commit 1de2a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Data.Common/tests/System/Data/DataTableTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4041,7 +4041,7 @@ public void Bug55978()
40414041

40424042
DataView dv = dt.DefaultView;
40434043
dv.RowFilter = string.Format(CultureInfo.InvariantCulture,
4044-
"StartDate >= '{0}' and StartDate <= '{1}'",
4044+
"StartDate >= #{0}# and StartDate <= #{1}#",
40454045
DateTime.Now.AddDays(2),
40464046
DateTime.Now.AddDays(4));
40474047
Assert.Equal(10, dt.Rows.Count);

0 commit comments

Comments
 (0)