Skip to content

Commit

Permalink
Changed ' to # in RowFilter (dotnet/corefx#25482)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/corefx@1de2a4f
  • Loading branch information
Cronan authored and stephentoub committed Nov 24, 2017
1 parent e4df882 commit 29898dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4041,7 +4041,7 @@ public void Bug55978()

DataView dv = dt.DefaultView;
dv.RowFilter = string.Format(CultureInfo.InvariantCulture,
"StartDate >= '{0}' and StartDate <= '{1}'",
"StartDate >= #{0}# and StartDate <= #{1}#",
DateTime.Now.AddDays(2),
DateTime.Now.AddDays(4));
Assert.Equal(10, dt.Rows.Count);
Expand Down

0 comments on commit 29898dd

Please sign in to comment.